js2-mode icon indicating copy to clipboard operation
js2-mode copied to clipboard

Support for dynamic import.

Open ghost opened this issue 8 years ago • 5 comments

Avoid error 'import declarations may only appear at the top level' on dynamic import

https://webpack.js.org/guides/code-splitting-async/

ghost avatar Apr 24 '17 18:04 ghost

+1

gsmlg avatar Jun 20 '17 07:06 gsmlg

Is this going to get merged? Having syntax errors whenever I have dynamic imports is pretty annoying, and it breaks my possibility to make repetitive fixes by just jumping to the next error.

UwUnyaa avatar Dec 19 '18 10:12 UwUnyaa

Is this going to get merged?

Patches welcome.

dgutov avatar Dec 19 '18 11:12 dgutov

I was talking about https://github.com/HairyRabbit/js2-mode/issues/34

UwUnyaa avatar Dec 19 '18 15:12 UwUnyaa

So somebody's working on it? Cool. They're welcome to go ahead and make a pull request.

dgutov avatar Dec 19 '18 15:12 dgutov