Skip to content

Commit

Permalink
fix: 声明 yup.js 有副作用,防止 webpack 将增强代码删除
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k committed Sep 9, 2021
1 parent 756eed9 commit 97ab1d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
"email": "[email protected]",
"url": "https://github.com/fjc0k"
},
"sideEffects": false,
"sideEffects": [
"./validator/yup.js"
],
"exports": {
".": {
"require": "./_cjs/utils/index.js",
Expand Down

0 comments on commit 97ab1d3

Please sign in to comment.