You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Adding assets in compiler.plugin('emit') state - not appearing in manifest #5
I think the reason is because you taking assets from data.modules and not from data.assets.
So added assets from other plugins in this case will not appear in manifest.json.
I created pull request (webpack/webpack#1291) to create field that contains path, so you can take assets from stats.assets, I hope it will be approved and merged.
Activity
lgordey commentedon Jul 22, 2015
I think the reason is because you taking assets from
data.modulesand not fromdata.assets.So added assets from other plugins in this case will not appear in
manifest.json.lgordey commentedon Jul 22, 2015
data.assets:data.modules:Second screen is very big, but u can see, that there is no
my-spritein modules.name sectionnickjj commentedon Jul 22, 2015
I believe in the assets section, it included css and js files but the modules section omits them.
lgordey commentedon Jul 22, 2015
Modules section doesn't include dynamically added assets - that's the problem.
lgordey commentedon Jul 24, 2015
I think it is a webpack issue at first.
Cause in current situation we can't show in manifest assets that have been added from another plugins.
You can read linked issue.
nickjj commentedon Jul 24, 2015
Thanks for putting so much time into this issue. I wonder what will come from it on the webpack side.
lgordey commentedon Jul 24, 2015
I created pull request (webpack/webpack#1291) to create field that contains path, so you can take assets from
stats.assets, I hope it will be approved and merged.