mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
parent
ef48b59d13
commit
16f0dbef17
@ -688,7 +688,10 @@ if (fis.project.currentMedia() === 'publish-sdk') {
|
||||
postprocessor: convertSCSSIE11
|
||||
});
|
||||
const ghPages = fis.media('gh-pages');
|
||||
ghPages.set('project.files', ['examples/index.html']);
|
||||
ghPages.set('project.files', [
|
||||
'examples/index.html',
|
||||
'/examples/static/*.docx'
|
||||
]);
|
||||
|
||||
ghPages.match('*.scss', {
|
||||
parser: fis.plugin('sass', {
|
||||
@ -1008,6 +1011,10 @@ if (fis.project.currentMedia() === 'publish-sdk') {
|
||||
useHash: true
|
||||
});
|
||||
|
||||
ghPages.match('*.docx', {
|
||||
useHash: false
|
||||
});
|
||||
|
||||
ghPages.match('*.{js,ts,tsx,jsx}', {
|
||||
optimizer: fis.plugin('terser'),
|
||||
useHash: true
|
||||
|
Loading…
Reference in New Issue
Block a user