-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
webpack error when output filename ends with ".user.js" #90
Comments
This is a bug. The purpose of this behavior is to ensure the filename to be ended with I'll fix it soon. |
Any update on this @momocow? I've had to roll back to 2.5.8 pending the fix here. |
Just set your output filename to use
See my project The resulting asset is then given the |
🎉 This issue has been resolved in version 3.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
After updating to webpack-userscript v3.0.0+, I get the following error when I run webpack:
This is my webpack.config.js:
Solution: I was able to fix the error by changing the filename to
'example.js'
, removing the ".user" part.This is a breaking change compared to v2.5.8.
I doubt causing a webpack error is intended, but I'm unsure if this needs to be fixed. The main reason I'm creating this issue is so others who run into this error, find the solution here.
The text was updated successfully, but these errors were encountered: