From 87a7b34d8f1babd4b1ccd8d9e70096474e27cbf6 Mon Sep 17 00:00:00 2001 From: liaoxuezhi <2betop.cn@gmail.com> Date: Mon, 6 Jun 2022 11:58:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=20gh-pages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/map.json | 1 + fis-conf.js | 23 ++++++++++++++--------- 2 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 examples/map.json diff --git a/examples/map.json b/examples/map.json new file mode 100644 index 000000000..fdab511da --- /dev/null +++ b/examples/map.json @@ -0,0 +1 @@ +__RESOURCE_MAP__ \ No newline at end of file diff --git a/fis-conf.js b/fis-conf.js index c0eff1f42..d17d2e3a3 100644 --- a/fis-conf.js +++ b/fis-conf.js @@ -57,6 +57,7 @@ Resource.extend({ fis.set('project.files', [ 'schema.json', + '/examples/map.json', '/scss/helper.scss', '/scss/themes/*.scss', '/examples/*.html', @@ -704,12 +705,16 @@ if (fis.project.currentMedia() === 'publish-sdk') { '!uc.micro/**', '!markdown-it/**', '!markdown-it-html5-media/**', - '!punycode/**' + '!punycode/**', + '!amis-formula/**', + '!amis-core/**', + '!amis-ui/**', + '!amis/**', ], - 'pkg/rich-text.js': ['src/components/RichText.js', 'froala-editor/**'], + 'pkg/rich-text.js': ['amis-ui/lib/components/RichText.js', 'froala-editor/**'], - 'pkg/tinymce.js': ['src/components/Tinymce.tsx', 'tinymce/**'], + 'pkg/tinymce.js': ['amis-ui/lib/components/Tinymce.tsx', 'tinymce/**'], 'pkg/codemirror.js': ['codemirror/**'], @@ -717,11 +722,11 @@ if (fis.project.currentMedia() === 'publish-sdk') { 'pkg/exceljs.js': ['exceljs/**'], - 'pkg/barcode.js': ['src/components/BarCode.tsx', 'jsbarcode/**'], + 'pkg/barcode.js': ['amis-ui/lib/components/BarCode.tsx', 'jsbarcode/**'], 'pkg/markdown.js': [ - 'src/components/Markdown.tsx', - 'src/utils/markdown.ts', + 'amis-ui/lib/components/Markdown.tsx', + 'amis-core/lib/utils/markdown.ts', 'highlight.js/**', 'entities/**', 'linkify-it/**', @@ -733,7 +738,7 @@ if (fis.project.currentMedia() === 'publish-sdk') { ], 'pkg/color-picker.js': [ - 'src/components/ColorPicker.tsx', + 'amis-ui/lib/components/ColorPicker.tsx', 'react-color/**', 'material-colors/**', 'reactcss/**', @@ -764,12 +769,12 @@ if (fis.project.currentMedia() === 'publish-sdk') { '!hls.js/**', '!froala-editor/**', - '!src/components/RichText.tsx', + '!amis-ui/lib/components/RichText.tsx', '!zrender/**', '!echarts/**', '!papaparse/**', '!exceljs/**', - '!src/utils/markdown.ts', + '!amis-core/lib/utils/markdown.ts', '!highlight.js/**', '!argparse/**', '!entities/**',