-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
imports-loader rule is not compatible with [email protected] #653
Comments
@tensory Just |
This can be solved without having to switch to a different project using the solution in #639 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using Webpack
5.45.1
andimports-loader
3.0.0
.The suggestion in the Readme to use
imports-loader
with an argumentuse: "imports-loader?this=>window,fix=>module.exports=0"
is not compatible with latestimports-loader
.I was able to get the bundle file to build using this rule, updated using imports-loader 3.0.0 docs:
I would love to contribute this update as a pull request to the Readme. Unfortunately I'm still getting an error at runtime about
Uncaught ReferenceError: eve is not defined
, so it didn't solve the underlying problem that I thought the rule might address.The text was updated successfully, but these errors were encountered: