Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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: