package-build-stats
package-build-stats copied to clipboard
Upgrade Webpack to version 5
This is an attempt to upgrade to webpack
version 5
.
It seems to be generally working so far 🤔 But still needs to make sure the config works for everything it was already working.
Also, webpack
already supports the package exports
& imports
(imports from "#*"
), so the #*
dependencies are not considered missing anymore (At least it seems to work for my tested package)
Note: For normal packages, I tested it with: [email protected]
, [email protected]
; It also worked for this package which is failing at bundlephobia
right now (Terser
related): [email protected]
@pastelsky did you see this PR?