-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make powerplug fully treeshakable (#104)
The latest a couple of bytes (rollup: 365, webpack: 1356) are just left imports. They can't be treeshaked by default because itself may have side effects. But we may be sure that everything else will not exist if powerplug will be used by unused library.
- Loading branch information
Showing
5 changed files
with
71 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
{ | ||
"dist/react-powerplug.umd.js": { | ||
"bundled": 22959, | ||
"minified": 9274, | ||
"gzipped": 2551 | ||
"bundled": 22909, | ||
"minified": 9228, | ||
"gzipped": 2522 | ||
}, | ||
"dist/react-powerplug.cjs.js": { | ||
"bundled": 20067, | ||
"minified": 10303, | ||
"gzipped": 2422 | ||
"bundled": 20017, | ||
"minified": 10236, | ||
"gzipped": 2402 | ||
}, | ||
"dist/react-powerplug.esm.js": { | ||
"bundled": 19405, | ||
"minified": 9743, | ||
"gzipped": 2291, | ||
"bundled": 19355, | ||
"minified": 9676, | ||
"gzipped": 2267, | ||
"treeshaked": { | ||
"rollup": 1025, | ||
"webpack": 1835 | ||
"rollup": 365, | ||
"webpack": 1356 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.