Skip to content

Commit

Permalink
fix: 修复H5端启用摇树优化后auido组件编译失败的问题 fixed #1943
Browse files Browse the repository at this point in the history
  • Loading branch information
zhetengbiji committed Jul 27, 2020
1 parent 1c4a7ea commit 2ac3127
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const {
capitalize
} = 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 = {
// input 在 pageHead 中有使用,resize-sensor 在很多组件中有使用,暂时直接加载
Expand Down Expand Up @@ -54,5 +54,5 @@ ${componentsStr}
fs.mkdirSync(dir)
}

fs.writeFileSync(path.resolve(dir, 'components.js'), content, 'utf8')
fs.writeFileSync(path.resolve(dir, 'components.js'), content, 'utf8')
}

0 comments on commit 2ac3127

Please sign in to comment.