调试 gh-pages

This commit is contained in:
liaoxuezhi 2022-06-06 11:58:24 +08:00
parent 89268f703b
commit 87a7b34d8f
2 changed files with 15 additions and 9 deletions

1
examples/map.json Normal file
View File

@ -0,0 +1 @@
__RESOURCE_MAP__

View File

@ -57,6 +57,7 @@ Resource.extend({
fis.set('project.files', [ fis.set('project.files', [
'schema.json', 'schema.json',
'/examples/map.json',
'/scss/helper.scss', '/scss/helper.scss',
'/scss/themes/*.scss', '/scss/themes/*.scss',
'/examples/*.html', '/examples/*.html',
@ -704,12 +705,16 @@ if (fis.project.currentMedia() === 'publish-sdk') {
'!uc.micro/**', '!uc.micro/**',
'!markdown-it/**', '!markdown-it/**',
'!markdown-it-html5-media/**', '!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/**'], 'pkg/codemirror.js': ['codemirror/**'],
@ -717,11 +722,11 @@ if (fis.project.currentMedia() === 'publish-sdk') {
'pkg/exceljs.js': ['exceljs/**'], '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': [ 'pkg/markdown.js': [
'src/components/Markdown.tsx', 'amis-ui/lib/components/Markdown.tsx',
'src/utils/markdown.ts', 'amis-core/lib/utils/markdown.ts',
'highlight.js/**', 'highlight.js/**',
'entities/**', 'entities/**',
'linkify-it/**', 'linkify-it/**',
@ -733,7 +738,7 @@ if (fis.project.currentMedia() === 'publish-sdk') {
], ],
'pkg/color-picker.js': [ 'pkg/color-picker.js': [
'src/components/ColorPicker.tsx', 'amis-ui/lib/components/ColorPicker.tsx',
'react-color/**', 'react-color/**',
'material-colors/**', 'material-colors/**',
'reactcss/**', 'reactcss/**',
@ -764,12 +769,12 @@ if (fis.project.currentMedia() === 'publish-sdk') {
'!hls.js/**', '!hls.js/**',
'!froala-editor/**', '!froala-editor/**',
'!src/components/RichText.tsx', '!amis-ui/lib/components/RichText.tsx',
'!zrender/**', '!zrender/**',
'!echarts/**', '!echarts/**',
'!papaparse/**', '!papaparse/**',
'!exceljs/**', '!exceljs/**',
'!src/utils/markdown.ts', '!amis-core/lib/utils/markdown.ts',
'!highlight.js/**', '!highlight.js/**',
'!argparse/**', '!argparse/**',
'!entities/**', '!entities/**',