Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

If dropAsset: true is used to not generate manifiest.json, then both the implicit/explictit injections stop working #25

Open
iki opened this issue Apr 16, 2018 · 2 comments

Comments

@iki
Copy link

iki commented Apr 16, 2018

Without dropAsset, the implicit injection works and manifest is inlined in html:

new InlineChunkManifestHtmlWebpackPlugin()

With dropAsset, the implicit injection doesn't work and manifest is not inlined in html:

new InlineChunkManifestHtmlWebpackPlugin({ dropAsset: true })

With dropAsset, the explicit injection doesn't work and manifest is not inlined in html:

<%= htmlWebpackPlugin.files.webpackChunkManifest %>
new InlineChunkManifestHtmlWebpackPlugin({ dropAsset: true, chunkManifestVariable: 'webpackChunkManifest' })
@jouni-kantola
Copy link
Owner

Can you please make a repro in a gist (including what package versions you're using) or an example repo?

@musti-91
Copy link

musti-91 commented Nov 8, 2018

I'm having the same issue , without dropAsset=> doesn't work no file inlined in html.
with=> showing error:
outputOptions: undefind in html-webpack-plugin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants