Skip to content

Commit 29192fe

Browse files
committed
use raw file path when selecting parts
1 parent 41cd9a0 commit 29192fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/loader.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ module.exports = function (content) {
2828
var loaderContext = this
2929
var options = this.options.vue || {}
3030
var query = loaderUtils.parseQuery(this.query)
31-
var vueUrl = loaderUtils.getRemainingRequest(this)
3231
var filePath = this.resourcePath
3332
var fileName = path.basename(filePath)
3433
var moduleId = '_v-' + hash(filePath)
@@ -67,7 +66,7 @@ module.exports = function (content) {
6766
// select the corresponding part from the vue file
6867
getSelectorString(type, index || 0) +
6968
// the url to the actual vuefile
70-
vueUrl
69+
filePath
7170
)
7271
}
7372

0 commit comments

Comments
 (0)