-
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
feat: support htmlwebpackplugin v4 #55
Conversation
Oh wow, I see you got this already. |
@DanielSchaffer |
@erezvish - hi, I’m sorry for the lack of communication! I’m in the process of switching jobs, so I’ve been scrambling to wrap things up and haven’t had time to look. I’ll try to set aside some time today to take a look so you guys can get unblocked. |
@Austaras, @erezvish - my apologies for the delay - there were a ton of things that came up last minute while trying to leave my former coworkers in a reasonably caught up state, and I wasn't able to get to this until now. What you've got so far looks great, but I must also apologize that I forgot that the I'd recommend trying your changes out by using the examples - you can start the dev server by running this from the command line:
Unfortunately, the server must be restarted when you make changes to the plugin code - I'm not sure there's even a way to do incremental builds for a Webpack plugin. There are several examples, so the initial build may take a while to complete, especially on older machines - but once it's done, you can view the example projects by visiting http://localhost:3002/examples/angular/, and then following the links to each of the other examples. If all of the examples turn the background green after loading, you should be good to go. Additionally, while I realize I haven't set up a formal "contributing guidelines", I'd much appreciate it if you could do the following:
Thank you so much for your contributions on this, it is much appreciated! EDIT: I've added CONTRIBUTING |
fix package.json make it work fix normalize module id
Sorry for the dealy. Change as you requested. The Angular routing seems like broken in your branch too, other exmaple works fine |
@DanielSchaffer would you take some time review my updated commit? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The missing quotes on undefined
is breaking it when used with html-webpack-plugin@^3
- make sure you run the examples with both versions to ensure it works correctly. If you've got a dist
directory from building the plugin previously, you may need to run yarn build
after installing a different version so the change gets picked up.
Co-Authored-By: Daniel Schaffer <dan@dandoes.net>
Thank you both for this, it is much appreciated! |
@Austaras @erezvish pre-release: Let me know if that works as expected for you and I'll cut the final |
@DanielSchaffer Many thanks for your great plugin! I tried in my project and find few minor problems
evrything else works fine |
Hi, Thanks for all the effort! |
@Austaras can you write up an issue for this with repro steps?
|
fix #30