Skip to content

Commit

Permalink
feat(antd/next): add tree-shaking support for antd/next (#1544)
Browse files Browse the repository at this point in the history
* feat(antd): add tree-shaking support

* feat(next): add tree-shaking support
  • Loading branch information
liuweiGL authored Jun 4, 2021
1 parent 2293d4b commit 6835f6d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/antd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"unpkg": "dist/formily.antd.umd.production.js",
"jsdelivr": "dist/formily.antd.umd.production.js",
"jsnext:main": "esm",
"sideEffects": [
"dist/*",
"esm/*.js",
"lib/*.js",
"*.less"
],
"repository": {
"type": "git",
"url": "git+https://github.com/alibaba/formily.git"
Expand Down
6 changes: 6 additions & 0 deletions packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"jsdelivr": "dist/formily.next.umd.production.js",
"jsnext:main": "esm",
"module": "esm",
"sideEffects": [
"dist/*",
"esm/*.js",
"lib/*.js",
"*.less"
],
"repository": {
"type": "git",
"url": "git+https://github.com/alibaba/formily.git"
Expand Down

0 comments on commit 6835f6d

Please sign in to comment.