-
Notifications
You must be signed in to change notification settings - Fork 5
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
Doesn't do anything with html file + file loader #3
Comments
Sorry for not providing any example. This plugin expects that you I've added a basic example, build it with |
You can also inspect this project for a more real-life example. |
Do you really need to rewrite paths in a file that is an entry point? This might be possible too, but I can't say for sure without some experimenting. |
|
edit: I did not read your other comment yet, looking at that now.. index.jsx:
webpack config:
index.html:
Output index.html file:
It is not generating html output |
I was wrong advising to use the |
I'll leave this issue opened until I test specifying the target of rewriting as an entry point and either fix the plugin to support that case, or mention in the docs that this is impossible. |
Folder structure:
webpack.config.coffee
/src/jade/index.jade
/src/coffeescript/main.coffee
After buildFolder structure
index.html
Webpack is reporting no errors but as you can see the hash isn't being rewritten into the asset path in the HTML. Any ideas? Thanks! |
Instead of the
with
|
webpack.config.js:
Here's index.html:
Here's what it logs for moduleData inside the plugin itself:
Then silently errors and exits because it doesn't find any paths to rewrite
The text was updated successfully, but these errors were encountered: