assets-webpack-plugin icon indicating copy to clipboard operation
assets-webpack-plugin copied to clipboard

Only the last manifest in the loop is created

Open xpepermint opened this issue 9 years ago • 4 comments

https://github.com/webpack/webpack/issues/960

xpepermint avatar Apr 10 '15 01:04 xpepermint

I believe that I have a similar issue (ie. having an array of multiple webpack configs, only assets from one webpack config are written to file, even though I use the same instance of the assets plugin in all configs).

However the README explicitly covers "Using in multi-compiler mode"... Is there any min version of webpack where "Multi-compiler mode" is supposed to work with the plugin?

claudijo avatar Jun 05 '17 22:06 claudijo

This could be a great addition to the project. Having one instance for multi-compiler makes sense but if we could come up with a way to add manifest of those bundles to the same file, it would be really awesome

nerdchacha avatar Jan 19 '18 10:01 nerdchacha

I'm experiencing the same behavior as described above. Multi compiler mode is not working, just the assets of the very last compiler do get added to the .json. In my opinion, it should be labeled as a bug.

Orlandster avatar Apr 09 '19 11:04 Orlandster

@Orlandster I don't really have the time right now to look at this, but if you could point me to a repo/example of this not working correctly I would really appreciate it. Thanks!

ztoben avatar Apr 09 '19 12:04 ztoben