fix: 修复引入 moment-timezone 后文档页面报错 (#8561)

This commit is contained in:
liaoxuezhi 2023-10-31 10:51:21 +08:00 committed by GitHub
parent ddaafffb8e
commit ac11417389
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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', {