-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Cannot read property 'headTags' of undefined #1284
Comments
@hackteck It looks like this feature is only available in the 4.0 beta versions. Judging by this, the property should be available Lines 998 to 1002 in bf017f3
I ran into this problem because vue-cli is relying on 3.2, which doesn't appear to have the property Lines 722 to 725 in e2c6990
Does anyone know if it is possible to access these prepared tags in 3.2? I looked for them using the |
@scottbedard just |
as @mecampbellsoup said this is unfortunately only part of the beta: https://www.npmjs.com/package/html-webpack-plugin/v/4.0.0-beta.11 |
<%= htmlWebpackPlugin.tags.headTags %> broken.
I figure this out with
<%= htmlWebpackPlugin.files.js.map(src => `<script type="text/javascript" src="${src}"></script>`).join("\r\n ") %>
The text was updated successfully, but these errors were encountered: