OpenGeoscience / geojs

High-performance visualization and interactive data exploration of scientific and geospatial location aware datasets
https://opengeoscience.github.io/geojs
Apache License 2.0
441 stars 75 forks source link

build: Switch to webpack 5. #1141

Closed manthey closed 2 years ago

manthey commented 2 years ago

This has many fewer stale npm packages (so many fewer warnings). Tests can use all of modern javascript. This should be easier to maintain in the future.

Note the built bundles are somewhat smaller due to modernization of some packages.

This is part of and closes #1132.

manthey commented 2 years ago

@aashish24 This brings the build environment up to date with modern components. We could still upgrade bootstrap (used in the website), vtkjs, d3 (though that could be construed as a breaking change). Also, in the last few days, jasmine made a major update, but changing to that should be a separate PR.

manthey commented 2 years ago

Some notes about the process of upgrading from Webpack 3 to Webpack 5 along with all associated packages (karma, babel, various loaders).

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 1.6.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: