Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Webpack 5 #25

Open
3 of 6 tasks
andersevenrud opened this issue Aug 1, 2022 · 1 comment · May be fixed by os-js/OS.js#814
Open
3 of 6 tasks

Upgrade to Webpack 5 #25

andersevenrud opened this issue Aug 1, 2022 · 1 comment · May be fixed by os-js/OS.js#814
Labels
bug Something isn't working dependencies Pull requests that update a dependency file enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@andersevenrud
Copy link
Member

andersevenrud commented Aug 1, 2022

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 #24

  • Upgrade Webpack
  • Upgrade loaders and extensions (and replace any defunct stuff)
  • Make this work on the client repo (osjs-client)
  • Then ensure this works on the base repo (OS.js)
  • Release as major version bump

Stage 2

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

  • Go through all packages using dev-meta, upgrade, test, release.
@andersevenrud andersevenrud added bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed dependencies Pull requests that update a dependency file labels Aug 1, 2022
andersevenrud added a commit that referenced this issue Aug 4, 2022
Preliminary support for Webpack 5.

Refs #25
andersevenrud added a commit to os-js/osjs-client that referenced this issue Aug 4, 2022
andersevenrud added a commit that referenced this issue Sep 15, 2022
Preliminary support for Webpack 5.

Refs #25
andersevenrud added a commit that referenced this issue Sep 15, 2022
Preliminary support for Webpack 5.

Refs #25
andersevenrud added a commit that referenced this issue Sep 15, 2022
Preliminary support for Webpack 5.

Refs #25
@frank-dspeed
Copy link

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

@milahu milahu linked a pull request Nov 25, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants