修复gh-pages 文档丢失的问题
This commit is contained in:
parent
bdb1e7bf22
commit
a440c98ea1
17
fis-conf.js
17
fis-conf.js
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue