Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

hardcode a current node version option #35

Merged
merged 1 commit into from
Nov 2, 2016
Merged

Conversation

hzoo
Copy link
Member

@hzoo hzoo commented Nov 2, 2016

For #9

If a user wants to compile babel against the current node version (node --version) but doesn't want to use js for the config (in package.json/.babelrc rather than say babel-loader or a separate file)

node: "--version" -> "node": parseFloat(process.versions.node)?

screen shot 2016-11-02 at 2 43 36 pm

Option name ideas?

  • true
  • "version"
  • "current version"
  • "process"
  • "--version"

cc @shubheksha

@hzoo hzoo force-pushed the current-node-version branch 10 times, most recently from e32c82b to 734619d Compare November 2, 2016 18:43
@mathiasbynens
Copy link

"current"

@hzoo hzoo merged commit 6c62221 into master Nov 2, 2016
@hzoo hzoo mentioned this pull request Nov 2, 2016
@hzoo hzoo deleted the current-node-version branch November 2, 2016 23:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants