dotenv-webpack
dotenv-webpack copied to clipboard
feat: compatible with rspack
Use compiler.webpack.DefinePlugin
instead of require from webpack, this is also available way in webpack, and can be compatible with rspack.
This can also avoid requiring wrong webpack when using monorepo and have multiple webpack in node_modules
and this is more friendly to monorepo
hi @mrsteele sry for ping you, but it seems that this pr is ready for merging. Could you please help merge and release a new version?
Any chance you ran tests? I want to make sure it’s compatible with previous versions of webpack/node.
Didn't notice webpack4 don't have compiler.webpack
. Fixed it and now it should compatible with webpack4, and all tests pass in my local
:tada: This PR is included in version 8.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
thank you all @ahabhgk @mrsteele