I built and uglified a source code that requires some html files using html-loder. webpack.optimize.UglifyJsPlugin seems to remove a text type attribute of the input tag from html string.
The default value of the type attribute is text. But the CSS selector such as
input[type="text"] does not applied if the type attribute is removed.
My test repository is here.
Now, I’m uglifying on another task using grunt-contrib-uglify for work arround.