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

This commit is contained in:
2betop 2020-04-16 10:56:33 +08:00
parent bdb1e7bf22
commit a440c98ea1
1 changed files with 10 additions and 7 deletions

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',