Skip to content

Commit f1d3a0f

Browse files
author
chenjiajun79
committed
fix(taro-runtime): 修复 dom-external 代码被treeshaking
1 parent ac2dfa4 commit f1d3a0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/taro-runtime/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"files": [
1313
"dist"
1414
],
15-
"sideEffects": [],
15+
"sideEffects": [
16+
"./dist/dom-external/index.js"
17+
],
1618
"scripts": {
1719
"prod": "pnpm run build",
1820
"prebuild": "pnpm run clean",

0 commit comments

Comments
 (0)