-
Notifications
You must be signed in to change notification settings - Fork 14
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
support html-webpack-plugin@4 #30
Comments
well, this is solved after use stable version of HtmlWebpackPlugin, but I believe a detailed explanation will be interesting and helpful for me and other people who encountered this problem |
|
Hi, |
I'd be happy to try and take a stab at it, but to be honest I'm not entirely sure how start. |
@erezvish there aren't yet, sorry about that. As for setting up locally:
For a concrete example, this is what my debug configuration looks like for WebStorm: From there, you should be able to just set breakpoints in either the plugin's source code, or even Webpack's js source code in node_modules. The HtmlWebpackPlugin stuff is (IIRC) all relegated to In order to test/debug v4 separately from v3, it will probably be helpful to add a new example. I'd recommend just cloning one of the simpler examples (e.g. Unfortunately, I haven't set up much in the way of unit tests, as it's tricky to design meaningful unit tests based on the outcome of a compilation process. The examples sort of act as my test cases here - each them needs to:
You can see the standard e2e test suite in Let me know if you have any other questions about the project setup. Good luck! |
The text was updated successfully, but these errors were encountered: