n-riesco / jp-babel

jp-babel is a babel kernel for the Jupyter notebook
Other
86 stars 16 forks source link

Bug with import relative file paths #5

Closed slavaGanzin closed 7 years ago

slavaGanzin commented 8 years ago

import * from "module" Works fine and always return 'use strict', that's ok. But import * from "**./**module" always fails if contains es6 features. This should be alike with https://github.com/n-riesco/jp-coffeescript/commit/52ea3b454137cc3db4593ab43c38574743a316b8

@n-riesco I'm not familiar with babel, so I can't fix it by myself corectlly.

n-riesco commented 8 years ago

Issue #3 is related. Unfortunately, a solution may be more involved. In fact, the babel-repl developers seem to have given up all together on importing modules, see this commit and this issue

I need to spend more time investigating our options. But I want to finish refactoring NEL before I address what looks like a difficult issue.

n-riesco commented 7 years ago

TODO