Skip to content

Commit

Permalink
fix(mini-runner): 修复 vue2 出现多余空格文本节点的问题,fix #8884
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen-jj committed Apr 26, 2021
1 parent 412a637 commit f23e326
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/taro-mini-runner/src/webpack/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export function customVueChain (chain) {
'cover-image': 'src'
},
compilerOptions: {
whitespace: 'condense',
modules: [{
preTransformNode (el) {
const nodeName = el.tag
Expand Down

0 comments on commit f23e326

Please sign in to comment.