os-js / osjs-dev-meta

OS.js Development Meta Package
3 stars 5 forks source link

Upgrade to Webpack 5 #25

Open andersevenrud opened 2 years ago

andersevenrud commented 2 years ago

Webpack 4 doesn't run on Node 17, which is a problem because this is the next LTS and some users run this as their main environment.

Also, Webpack 4 has a lot of dependencies that's not really required because the Node version requirement of OS.js is 12, which could be bumped to 14 without any impact.

So this will fix any issues related to webpack 4 and bring on some nice speed improvements both in build times and dependency installation.


Split out from:

Related:

Tasks

Stage 1

Steps should probably be done with Node 16 or earlier.

Pretty much the same procedure as done in https://github.com/os-js/osjs-dev-meta/issues/24

Stage 2

This stage could probably be automated since anything in stage 1 will apply project-wide.

frank-dspeed commented 2 years ago

Please Stop that effort switch to rollup to reduce future migrations in future.