Skip to content
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

support parameter flags for Node #26

Open
llinder opened this issue Mar 25, 2015 · 1 comment
Open

support parameter flags for Node #26

llinder opened this issue Mar 25, 2015 · 1 comment

Comments

@llinder
Copy link

llinder commented Mar 25, 2015

While attempting to write a plugin for ng-annotate I discovered that the JS file requires ES6 support. Node supports many ES6 features with the --harmony flag. Based on the documented configuration options there doesn't currently appear to be a way to pass any configuration flags to the node command.

As more people adopt ES6 features the need for this flag is likely to become a more common occurrence.

@mkurz
Copy link
Member

mkurz commented May 18, 2023

Seems like the --harmony flag isn't really needed since all the ES6 features are now available in node.
Starting with sbt-js-engine 1.3.0 newer node version are supported (via node engine).
I keep the ticket open however, just in case someone still needs that flag in future, please let us know.

BTW, some links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants