autodll-webpack-plugin
autodll-webpack-plugin copied to clipboard
How to make it works with AssetsPlugin
I would like to obtain the css and js mapping for server side rendering purpose. The produced assets.json does not contain the vendor js... How to make it works?
I added AssetsPlugin to plugins section of AutoDllPlugin, the output assets json ignore the config.output.publicPath, also the path specified in plugin. Is it intended?
My config.out.publicPath is http://0.0.0.0:3000
while the path is ./static/js
I think it is caused by separate compilers (dll compiler vs main compiler) and the path is append after dll is built.
{"vendor":{"js":"vendor.30d01253.js"}}
What I expected should be
{"vendor":{"js":"http://0.0.0.0:3000/static/js/vendor.30d01253.js"}}