fix nuxt dev

This commit is contained in:
Pooya Parsa 2020-11-24 12:06:05 +01:00
parent 99129216ee
commit f4975dfd09
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ function containsPattern (arr, val) {
)
}
const scopedModuleRegex = /@[a-zA-Z0-9][\\w-.]+\/[a-zA-Z0-9][\\w-.]+([a-zA-Z0-9./]+)?/g
const scopedModuleRegex = /@[a-zA-Z0-9][.\\w-]+\/[a-zA-Z0-9][.\\w-]+([a-zA-Z0-9./]+)?/g
function getModuleName (request, includeAbsolutePaths) {
let req = request