-
Notifications
You must be signed in to change notification settings - Fork 24
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
Escaping does not work #13
Comments
Ah yes it assumes you use |
Ouch, I didn't even know this feature even existed... __e = _.escape This can be tested by uninstalling underscore and installing lodash instead. tl;dr Someone should create a lodash-template-loader |
In my minimalistic fallback loader I just add lodash as dependency to the template: https://github.com/ampedandwired/html-webpack-plugin/blob/feature/loaders/lib/loader.js#L25 |
When using the escape feature of lodas/underscore templates I receive "ERROR in ReferenceError: _ is not defined"
The text was updated successfully, but these errors were encountered: