-
-
Notifications
You must be signed in to change notification settings - Fork 204
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
"Process script and link tags" example doesn't work #329
Comments
Thank you for creating this issue. However, issues need to follow one of our templates so that we can clearly understand your particular circumstances. Please help us help you by recreating the issue using one of our templates. |
I will reopen this after you fix the problem |
@evilebottnawi Done. |
I see, but in |
You can avoid using |
I don't think that would fix the issue. The javascript shouldn't be evaluted at all. The example should probably be removed from the readme. |
@frangio I am experiencing the same issues. The javascript is evaluated and it shouldn't be evaluated. The error comes from extract-loader but seems that there isn't any issue that notify that error recently. Then, is the example working with a specific version of |
Please open an issue in |
Let' close in favor #259, we still not support some edge cases for |
Expected Behavior
Script tag with a
src
attribute to a file that is processed byfile-loader
should emit the script tag with thesrc
pointing to the asset generated by Webpack.Actual Behavior
The js file corresponding to the script tag is evaluated at bundle time.
npx webpack
fails with:How Do We Reproduce?
I've just copied the example from the readme verbatim.
https://github.com/frangio/repro-webpack-html-loader
This has been reported before as #284, but since it's still unresolved with Webpack 5 I'm opening this issue.
The text was updated successfully, but these errors were encountered: