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

Please provide versioning option for javascript #163

Open
GetCodePanda opened this issue Jun 22, 2017 · 2 comments
Open

Please provide versioning option for javascript #163

GetCodePanda opened this issue Jun 22, 2017 · 2 comments

Comments

@GetCodePanda
Copy link

GetCodePanda commented Jun 22, 2017

Please Provide option to select the version for javascript something like --js-version = es6 and current express generator comes with previous versions of javascript. So we want the express generator to take care everything for our development side setup ... If this versioning option already exists ... I am so sorry ... Please let me know

@gokaygurcan
Copy link

Two words: backwards compatibility.

But I'd like to see the outcome of this thread.

/cc @dougwilson

@dougwilson
Copy link
Contributor

I know there were some PRs created around this area, but I don't think they occurred due to eventual abandonment. Since that time, though, a lot of the underlying generation methods have been change, potentially making implementing a switch like this an easier task to make a PR for. A long time ago it was just es5 vs es6, but now it evolves so fast, and is of course out-of-sync with what v8 in Node.js supports, it may be better to implement a switch to declare your Node.js version target and then the latest es* will get used that would work on that Node.js version.

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

3 participants