Skip to content

Commit

Permalink
fix(h5): 修复 h5 依赖导出失败问题 fix #13586
Browse files Browse the repository at this point in the history
  • Loading branch information
zhutianjian authored and zhutianjian committed Apr 6, 2023
1 parent 7a48772 commit 88e696b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/taro-platform-h5/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,7 @@ const variesConfig = [{
format: 'cjs',
inlineDynamicImports: true
},
plugins: getPlugins([
externals({
deps: true,
devDeps: false,
exclude: ['@tarojs/components', '@tarojs/taro-h5']
})
], [exportNameOnly()])
plugins: getPlugins([exportNameOnly()])
}]

if (process.env.NODE_ENV === 'production') {
Expand Down

0 comments on commit 88e696b

Please sign in to comment.