Skip to content

Upgrade to Webpack 5 #25

Open
os-js/OS.js
#814
@andersevenrud

Description

@andersevenrud

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency fileenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions