8000 Merge branch 'master' of github.com:vuejs/vue-loader · rspack-contrib/rspack-vue-loader@99be619 · GitHub
[go: up one dir, main page]

Skip to content

Commit 99be619

Browse files
committed
Merge branch 'master' of github.com:vuejs/vue-loader
2 parents d6b8b41 + f3db7a
8000
f commit 99be619

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)
0