修复gh-pages 文档丢失的问题

This commit is contained in:
2betop 2020-04-16 10:56:33 +08:00
parent ed5317897c
commit 9808f556ca

View File

@ -141,8 +141,8 @@ fis.match('*.html:jsx', {
fis.hook('node_modules', {
shimProcess: false,
shimGlobal: false,
shimBuffer: false,
shutup: true
shimBuffer: false
// shutup: true
});
fis.hook('commonjs', {
extList: ['.js', '.jsx', '.tsx', '.ts']
@ -678,11 +678,14 @@ if (fis.project.currentMedia() === 'publish') {
moduleId: function(m, path) {
return fis.util.md5('amis' + path);
},
parser: fis.plugin('typescript', {
sourceMap: false,
importHelpers: true,
esModuleInterop: true
})
parser: [
docsGennerator,
fis.plugin('typescript', {
sourceMap: false,
importHelpers: true,
esModuleInterop: true
})
]
});
ghPages.match('*', {
domain: 'https://bce.bdstatic.com/fex/amis-gh-pages',