Skip to content

Commit f3db7af

Browse files
cappadonayyx990803
authored andcommitted
1 parent 1b70544 commit f3db7af

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
@@ -220,7 +220,7 @@ module.exports = function (content) {
220220
' var hotAPI = require("vue-hot-reload-api")\n' +
221221
' hotAPI.install(require("vue"), false)\n' +
222222
' if (!hotAPI.compatible) return\n' +
223-
' var id = ' + JSON.stringify(filePath) + '\n' +
223+
' var id = ' + loaderUtils.stringifyRequest(loaderContext, filePath) + '\n' +
224224
' if (!module.hot.data) {\n' +
225225
// initial insert
226226
' hotAPI.createRecord(id, module.exports)\n' +

0 commit comments

Comments
 (0)