Skip to content

Commit

Permalink
Support Node.js 18 out-of-box
Browse files Browse the repository at this point in the history
Currently when Node.js 18 is used with `scalajs-bundler`, webpack will throw an `ERR_OSSL_EVP_UNSUPPORTED` error as described in webpack/webpack#14532

This PR fixes the error by upgrading webpack to 5.75.0, which includes the fix to `ERR_OSSL_EVP_UNSUPPORTED`.
  • Loading branch information
Atry authored Jan 25, 2023
1 parent 9a4c576 commit 934b1a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ object ScalaJSBundlerPlugin extends AutoPlugin {

scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.CommonJSModule) },

version in webpack := "5.24.3",
version in webpack := "5.75.0",

webpackCliVersion := "4.5.0",

Expand Down

0 comments on commit 934b1a0

Please sign in to comment.