-
Notifications
You must be signed in to change notification settings - Fork 206
Open
Description
Using the form on http://wix.github.io/react-templates/, the HTML <p>We’re here.</p> gets converted to React.createElement('p', {}, 'We\u2019re here.') as expected.
Using webpack, react-templates, and react-templates-loader in development, the output is also as expected.
But in the webpack production build, it's converted to r.createElement("p",{},"We’re here."), which renders as <p>We’re here.</p> in Chrome.
My webpack config is { test: /\.rt$/, loader: 'react-templates-loader?modules=es6' } and I'm using the latest node (10.13.0), react (16.6.1), react-templates (0.6.3), react-templates-loader (0.6.5), and webpack (4.25.1).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels