-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Version 2.x throws Module build failed: SyntaxError #273
Comments
I guess because of your babel loader setting the fallback loader does not work. |
Thanks for your suggestion @jantimon. The issue mentioned above has been resolved but now I have two additional issues: 1 The generated index.html file now takes the form of a JS script:
2 The generated link and script element point to the wrong location. The path should be prepended with "dist/" for both files. |
looks like the loader is executed twice. |
Thanks for your quick reply! I've got it all working per your suggestions. I actually ended up removing the 'html!' part of the string from the 'template' reference and simply kept the loader definition under the 'loaders' section: And adding |
cool :) |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I've been trying to use the latest version of html-webpack-plugin (2.15.0) alongside webpack (1.12.14).
See below for a copy of my webpack.config.js file.
When I run webpack I get the following error:
Downgrading to version 1.7.0 fixed the issue.
Any reason why this might be happening?
Thanks!
webpack.config.js:
The text was updated successfully, but these errors were encountered: