We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to migrate webpack@3.* to webpack@4.* but the values which are given in the data object are surrounded by additional ".
Have you any idea to prevent the additional quotation marks?
The code:
const width = '900px'; const template = require('./template.html') ({ css: { width }});
The template: <div style="width: ${scope.css.width}"></div>
<div style="width: ${scope.css.width}"></div>
The result with webpack@3.*: <div style="width: 900px"></div>
<div style="width: 900px"></div>
The result with webpack@4.*: <div style="width: \"900px\""></div>
<div style="width: \"900px\""></div>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried to migrate webpack@3.* to webpack@4.* but the values which are given in the data object are surrounded by additional ".
Have you any idea to prevent the additional quotation marks?
The code:
The template:
<div style="width: ${scope.css.width}"></div>
The result with webpack@3.*:
<div style="width: 900px"></div>
The result with webpack@4.*:
<div style="width: \"900px\""></div>
The text was updated successfully, but these errors were encountered: