package-build-stats icon indicating copy to clipboard operation
package-build-stats copied to clipboard

Upgrade Webpack to version 5

Open ardalanamini opened this issue 1 year ago • 3 comments

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.

ardalanamini avatar Sep 01 '22 23:09 ardalanamini

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)

ardalanamini avatar Sep 01 '22 23:09 ardalanamini

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]

ardalanamini avatar Sep 02 '22 09:09 ardalanamini

@pastelsky did you see this PR?

jmetev1 avatar May 15 '23 18:05 jmetev1