Skip to content
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 output a value that is not escaped to the template #33

Open
zhongzihao-world opened this issue Jul 31, 2018 · 1 comment
Open

Comments

@zhongzihao-world
Copy link

Hello, I am having some problems with this loader. I need to output unescaped data in this div, but it always bothers me for a long time. We look forward to your reply.
code snippet:
`


<%- JSON.stringify(htmlWebpackPlugin.options.data) %>

` errors: `errors: Template execution failed: ReferenceError: _ is not defined `
@Kolobok12309
Copy link

Add this to options of loader

{
...
engine: 'lodash',
}

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

No branches or pull requests

2 participants