-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
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>
The result with webpack@3.*:
<div style="width: 900px"></div>
The result with webpack@4.*:
<div style="width: \"900px\""></div>
Metadata
Metadata
Assignees
Labels
No labels