We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6b8b41 + f3db7af commit 99be619Copy full SHA for 99be619
lib/loader.js
@@ -220,7 +220,7 @@ module.exports = function (content) {
220
' var hotAPI = require("vue-hot-reload-api")\n' +
221
' hotAPI.install(require("vue"), false)\n' +
222
' if (!hotAPI.compatible) return\n' +
223
- ' var id = ' + JSON.stringify(filePath) + '\n' +
+ ' var id = ' + loaderUtils.stringifyRequest(loaderContext, filePath) + '\n' +
224
' if (!module.hot.data) {\n' +
225
// initial insert
226
' hotAPI.createRecord(id, module.exports)\n' +
0 commit comments