Skip to content

Commit

Permalink
build: 解决 taro 3.3 提示 ENABLE_INNER_HTML 未定义
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Jul 14, 2021
1 parent 6fe6c75 commit b022086
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"preset": "jest-preset-miaoxing",
"moduleNameMapper": {
"@tarojs/components": "@tarojs/components/dist-h5/react"
},
"globals": {
"ENABLE_INNER_HTML": true,
"ENABLE_ADJACENT_HTML": true,
"ENABLE_SIZE_APIS": true
}
},
"dependencies": {
Expand Down

0 comments on commit b022086

Please sign in to comment.