diff --git a/src/app/compiler/compiler-imports.js b/src/app/compiler/compiler-imports.js index e306ac9fee..c1fb53de46 100644 --- a/src/app/compiler/compiler-imports.js +++ b/src/app/compiler/compiler-imports.js @@ -65,7 +65,7 @@ module.exports = class CompilerImports { } isRelativeImport (url) { - return /^([A-Za-z0-9]+)/.exec(url) + return /^([^/]+)/.exec(url) } import (url, loadingCb, cb) {