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
Hmm - I think it should be there? That gets into one of the weirder issues with DefinePlugin - it leaks into parent compiler instances, but perhaps it doesn't leak into sibling compilers? If so then there's no way to have that variable exposed to your template.
One option would be to pass a value directly to html-webpack-plugin via the templateParameters option:
is there a way to access 'PRERENDER' env variable inside a regular template.html?
The text was updated successfully, but these errors were encountered: