From a0f3c79d26f02238ba10dfef19912db39b4bfa14 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) {