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

raise min. Node version to 16, upgrade some dev dependencies #4607

Merged
merged 38 commits into from
Sep 22, 2022

Conversation

derhuerst
Copy link
Member

@derhuerst derhuerst commented Jul 15, 2022

This PR upgrades or main bundling & transpiling tooling, namely Babel (+ plugins) & webpack (+plugins & loaders). It raises the minimum Node.js version to 16.

left to do:

@joonaojapalo

This comment was marked as outdated.

@derhuerst

This comment was marked as outdated.

@derhuerst derhuerst changed the base branch from v2 to node-migration September 7, 2022 08:02
Joona Ojapalo and others added 25 commits September 8, 2022 11:07
DT-5508 configure Kajaani into waltti opas
fix: use url param instead of header for map subscription key
fix: yks. linjan tietojen määränpään korjaus DT-5155
…abel loose config

> If you want to change the default set of browsers, we recommend combining `last 2 versions`, `not dead` with a usage number like `> 0.2%`. This is because `last n versions` on its own does not add popular old versions, while only using a percentage above 0.2% will in the long run make popular browsers even more popular. We might run into a monopoly and stagnation situation, as we had with Internet Explorer 6. Please use this setting with caution.

https://github.com/browserslist/browserslist/blob/2f4771f99b2bd41816d6e76f5a57b66d62a89ebb/README.md#best-practices
- webpack@5
	- remove terser-webpack-plugin, now built-in
	- add url, because it is needed for polyfilling
	- optimize-css-assets-webpack-plugin -> css-minimizer-webpack-plugin
- upgrade dev dependencies
	- webpack-dev-server@4
	- compression-webpack-plugin@10
	- copy-webpack-plugin@11
	- css-loader@6
	- mini-css-extract-plugin@2
	- style-loader@3, postcss-loader@7, sass-loader@13, node-sass@7
@derhuerst derhuerst changed the title upgrade some dev dependencies raise min. Node version to 16, upgrade some dev dependencies Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants