-
The test contributing readme mentions that tests are expected "to pass all the way back to NodeJS v10". https://github.com/webpack/webpack/blob/main/test/README.md#footnotes But the project doesn't even run ![]() Also, as per Node.js docs, everything below v20 has reached End-of-life, so why is webpack expected to support older versions? https://nodejs.org/en/about/previous-releases#looking-for-the-latest-release-of-a-version-branch Is the readme outdated or is the assemblyscript error during |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
webpack itself still supports Node 10 https://github.com/webpack/webpack/blob/main/package.json#L121, the dependency that you mentioned is a development one. So it's likely okay to use a newer version of Node for developing webpack, but you need to make sure that the changes that you are doing will run on Node.js 10. |
Beta Was this translation helpful? Give feedback.
-
The test suite dependencies are development ones too. I'm not seeing how it's possible to run Is the expectation that we install dependencies with Node 20, then switch to Node 10 for running the test suite? 😕 |
Beta Was this translation helpful? Give feedback.
-
No, you just have to make sure you are not using any modern JavaScript features, running it with Node.js 10 happens in CI which installs older versions of the development dependencies for Node.js 10. Ref: https://github.com/webpack/webpack/blob/main/.github/workflows/test.yml |
Beta Was this translation helpful? Give feedback.
No, you just have to make sure you are not using any modern JavaScript features, running it with Node.js 10 happens in CI which installs older versions of the development dependencies for Node.js 10.
Ref: https://github.com/webpack/webpack/blob/main/.github/workflows/test.yml