Skip to content

Commit 0fb5172

Browse files
committed
fix: use constant plugin NS
close #1331
1 parent bdb53e8 commit 0fb5172

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/plugin.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
const fs = require('fs')
2-
const path = require('path')
31
const qs = require('querystring')
42
const RuleSet = require('webpack/lib/RuleSet')
53

64
const id = 'vue-loader-plugin'
7-
const NS = path.dirname(fs.realpathSync(__filename))
5+
const NS = 'vue-loader'
86

97
class VueLoaderPlugin {
108
apply (compiler) {

0 commit comments

Comments
 (0)