-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChakraCore compatibility with ES6 modules #62
Comments
ES6 modules are not supported by the JavaScript Engine Switcher library. I want to remind for what purpose the JavaScript Engine Switcher library was created:
|
Does that mean they are supported by the underlying .NET libraries (e.g., ClearScript.V8), and would therefore be usable if I interfaced with those directly? I've been scouring the web for resources and have found very few answers, unfortunately. |
I can not promise anything, but on weekend I'll try to investigate this problem. |
Hello, Paul! I checked support of ES6 modules by JS engines, which are used in the JavaScript Engine Switcher. I was very surprised to learn that the Microsoft ClearScript.V8 and prerelease version of Jint do not support them. Support is available only in the ChakraCore (a lot of things need to implement yourself) and NiL.JS (so far very raw support and many errors). To implement modules, at least two methods ( |
The case scenario! I'am trying to make C# bundler via nodejs envirement! @Taritsyn Is there possible to make some bundler in C# like webpack do it ? Enterpise Scenarion When Developers write code on js! And Tooling budle them! |
@Diaskhan Hello! You can use the If I were you, I would look at specialized libraries for working with Node.js: Edge.js or Microsoft.AspNetCore.NodeServices. |
Is it possible to get ChakraCore to work with ES6 modules? I'm attempting to use it with ReactJS.NET, and I can't find a way around this error:
The text was updated successfully, but these errors were encountered: