From 9808f556ca9a4f1d5d14a7052f1a0019384d1f7c Mon Sep 17 00:00:00 2001 From: 2betop <2betop.cn@gmail.com> Date: Thu, 16 Apr 2020 10:56:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dgh-pages=20=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E4=B8=A2=E5=A4=B1=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fis-conf.js | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/fis-conf.js b/fis-conf.js index 68ed57c85..b5ecf3b9c 100644 --- a/fis-conf.js +++ b/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',