Skip to content

Commit ee797d2

Browse files
committed
fix component normalizer path on windows (fix vuejs#601)
1 parent fb0c7c9 commit ee797d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ module.exports = function (content) {
248248
// scopeId,
249249
// cssModules
250250
// )
251-
output += 'var Component = require("' + componentNormalizerPath + '")(\n'
251+
output += 'var Component = require(' + JSON.stringify(componentNormalizerPath) + ')(\n'
252252

253253
// <script>
254254
output += ' /* script */\n '

0 commit comments

Comments
 (0)