Skip to content
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

Bug with HTML Webpack Plugin v3.0.4 #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jlopez994
Copy link

It is not necessary to use a callback when html data is replaced. In fact, it doesn't work because they removed that attribute. So the fix is simple, just remove that line.
Reference: https://github.com/jantimon/html-webpack-plugin/blob/master/index.js#L193

It is not necessary to use a callback when html data is replaced. In fact, it doesn't work because they removed that attribute. So the fix is simple, just remove that line.
Reference: https://github.com/jantimon/html-webpack-plugin/blob/master/index.js#L193
@darkestblue91
Copy link

I have tested your change and the plugin works as expected, hope this will be included as soon as posible, it's needed with Webpack 4.

@DeviousM
Copy link

Just in case I've forked it and published the fixed one under a different name:
html-string-replace-webpack-plugin-webpack-4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants