Skip to content

Commit

Permalink
remove unused regex
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Dec 6, 2018
1 parent 952a237 commit 164e70f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/loaders/relocate-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ function handleWrappers (ast, scope, magicString, len) {
}

const relocateRegEx = /_\_dirname|_\_filename|require\.main|node-pre-gyp|bindings|define/;
const pkgNameRegEx = /(@[^\\\/]+[\\\/])?[^\\\/]+/;

module.exports = function (code) {
this.async();
Expand Down

0 comments on commit 164e70f

Please sign in to comment.