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 13f1ddb commit 321a763Copy full SHA for 321a763
src/index.js
@@ -1,9 +1,11 @@
1
+const loaderPath = require.resolve('./lib/injector.js')
2
+
3
// for chainWebpack
4
module.exports = function(config, options) {
5
config.module
6
.rule('vue')
7
.use('vue-filename-injector')
- .loader(require.resolve('./lib/injector.js'))
8
+ .loader(loaderPath)
9
.options(options)
10
.after('vue-loader')
11
.end()
0 commit comments