fix relative import

pull/1/head
yann300 7 years ago committed by GitHub
parent ac4c407a44
commit a0f3c79d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/app/compiler/compiler-imports.js

@ -65,7 +65,7 @@ module.exports = class CompilerImports {
} }
isRelativeImport (url) { isRelativeImport (url) {
return /^([A-Za-z0-9]+)/.exec(url) return /^([^/]+)/.exec(url)
} }
import (url, loadingCb, cb) { import (url, loadingCb, cb) {

Loading…
Cancel
Save