Skip to content

Commit dd28130

Browse files
committed
[Fix] unescape unnecessarily escaped regex slashes
1 parent 72d1385 commit dd28130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/importType.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function isExternalModule(name, settings, path) {
2727
return externalModuleRegExp.test(name) && isExternalPath(path, name, settings)
2828
}
2929

30-
const scopedRegExp = /^@[^\/]+\/[^\/]+/
30+
const scopedRegExp = /^@[^/]+\/[^/]+/
3131
function isScoped(name) {
3232
return scopedRegExp.test(name)
3333
}

0 commit comments

Comments
 (0)