-
Notifications
You must be signed in to change notification settings - Fork 105
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
1.7.2 release broke my config #18
Comments
Were there breaking changes in the patch release? If so, are they documented somewhere? Cheers. |
Sorry! No. |
Sure thing. https://gist.github.com/lukiffer/5b59c1c73b0002b49ead4cc78d0e604e The configs get merged based on an environment argument. We're running [email protected]. Thanks for investigating! |
Thans for that. I have a suspicion - can you remove HtmlWebpackExcludeAssetsPlugin from your config and check if the ScriptExt error gos away? |
To explain, both HtmlWebpackExcludeAssetsPlugin and ScriptExt use the same extension event from HtmlWebpackPlugin. If the correct args aren't passed along the chain, then my assumptions about the expected configuration could be wrong. |
So, yes that worked (no longer throwing the error), however we're doing an initial load of a stylesheet with core styles, and subsequently loading a theme stylesheet at runtime based on a localstorage preference or default. With HtmlWebpackExcludeAssetsPlugin commented out, all of the theme stylesheets are being I'm not sure if it was the exclusion of the other plugin or a change in ScriptExtHtmlWebpackPlugin thats causing that behavior. |
Excellent. PS: I thought a no-arh instantiation of HtmlWebpackExcludeAssetsPlugin did nothing ...? |
I believe the no-arg instantiation uses the HtmlWebpackPlugin data, in our case:
It's no big rush - we've pinned 1.7.0 and it's still working well. And btw, thank you for building and maintaining this package and being so responsive and easily accessible. |
Thankyou :-) |
Confirmed that something between 1.7.0 and 1.7.2 broke. Nothing in the webpack config changed.
Our usage:
Resulting error output:
The text was updated successfully, but these errors were encountered: