From dd65cb1ff2ef4fb29b97f1790126b221fcb1295d Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 6 Jun 2018 10:04:11 +0200 Subject: [PATCH] fix relative import --- src/app/compiler/compiler-imports.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {