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.
1 parent 64a5cd3 commit 0766fe7Copy full SHA for 0766fe7
lib/index.js
@@ -67,7 +67,8 @@ module.exports = function (source) {
67
// module id for scoped CSS & hot-reload
68
const shortFilePath = path
69
.relative(context, resourcePath)
70
- .replace(/^(\.\.[\\\/])+/, '') +
+ .replace(/\\/g, '/')
71
+ .replace(/^(\.\.\/)+/, '') +
72
resourceQuery
73
74
const id = hash(
0 commit comments