diff --git a/lib/parser.js b/lib/parser.js index c14b59403..e3439bfd7 100644 --- a/lib/parser.js +++ b/lib/parser.js @@ -23,6 +23,15 @@ module.exports = function (content, filename, needMap) { content: '' } } + if (output.styles) { + output.styles.forEach(style => { + // compensate for the fact that HTML-link strings are parsed incorrectly in react-vue-loader + // when the presence of an attribute is used to indicate true, eg: + //