mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix: 修复引入 moment-timezone 后文档页面报错 (#8561)
This commit is contained in:
parent
ddaafffb8e
commit
ac11417389
@ -241,7 +241,7 @@ fis.match('/examples/mod.js', {
|
||||
isMod: false
|
||||
});
|
||||
|
||||
fis.match('markdown-it/**', {
|
||||
fis.match('{markdown-it,moment-timezone}/**', {
|
||||
preprocessor: fis.plugin('js-require-file')
|
||||
});
|
||||
|
||||
@ -688,6 +688,7 @@ if (fis.project.currentMedia() === 'publish-sdk') {
|
||||
postprocessor: convertSCSSIE11
|
||||
});
|
||||
const ghPages = fis.media('gh-pages');
|
||||
ghPages.set('project.files', ['examples/index.html']);
|
||||
|
||||
ghPages.match('*.scss', {
|
||||
parser: fis.plugin('sass', {
|
||||
|
Loading…
Reference in New Issue
Block a user