提交 2ac3127e 编写于 作者: Q qiang

fix: 修复H5端启用摇树优化后auido组件编译失败的问题 fixed #1943

上级 1c4a7eae
...@@ -6,7 +6,7 @@ const { ...@@ -6,7 +6,7 @@ const {
capitalize capitalize
} = require('./util') } = require('./util')
const platformTags = ['audio', 'map', 'video', 'web-view', 'cover-view', 'cover-image', 'picker'] const platformTags = ['map', 'video', 'web-view', 'cover-view', 'cover-image', 'picker']
const autoloadTags = { const autoloadTags = {
// input 在 pageHead 中有使用,resize-sensor 在很多组件中有使用,暂时直接加载 // input 在 pageHead 中有使用,resize-sensor 在很多组件中有使用,暂时直接加载
...@@ -54,5 +54,5 @@ ${componentsStr} ...@@ -54,5 +54,5 @@ ${componentsStr}
fs.mkdirSync(dir) fs.mkdirSync(dir)
} }
fs.writeFileSync(path.resolve(dir, 'components.js'), content, 'utf8') fs.writeFileSync(path.resolve(dir, 'components.js'), content, 'utf8')
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册