-
Notifications
You must be signed in to change notification settings - Fork 73
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
add support for webpack v4 #55
Comments
Yes please, webpack 4 looks like it has many good features, we need chunk manifest plugin :-) |
Experiencing the same issue as mentioned in webpack-contrib/mini-css-extract-plugin#38, have narrowed the issue down to this plugin.
|
@malectro's branch seems to address this https://github.com/malectro/chunk-manifest-webpack-plugin/tree/webpack-4 |
Any update on this issue? Waiting to use it with webpack 4. |
#59 we can use this, which support webpack 4.8.3 + |
I ended up removing my dependency on this package in favour of using // webpack.config.js
...
plugins: [
new HtmlWebpackPlugin({
filename: 'webpack-common-manifest.json',
template: 'manifest/template.html',
inject: false,
}),
], <%# manifest/template.html %>
<%= JSON.stringify(webpack.assetsByChunkName) %> This produced a JSON manifest referencing all chunks. You can use any of the other options for |
@fightingtheboss, is some part of that configuration missing? What makes webpack -object accessible from that template.html? |
That variable is provided by Turns out there's a much simpler solution to this problem though, simply use this plugin: https://github.com/danethurber/webpack-manifest-plugin. No need for a custom template in that case. |
Ah! So it seems! I somehow missed that assuming it was solely for stats -object! Thanks for the trick! :) Unfortunately |
Can we get one of the pr's for this merged in. Some look better than others... Can't even npm install after upgrading to npm4 or 5. |
Webpack v4 has been released.
At the moment only webpack version 3 is supported:
The text was updated successfully, but these errors were encountered: