Skip to content

Commit

Permalink
Use const as declaration keyword in node environment
Browse files Browse the repository at this point in the history
This is typical for the node environment, and likely will be until node
gets `import`s. People who are transpiling their code in node can still
override this by setting `declarationKeyword` in their configuration.

Fixes #235
  • Loading branch information
lencioni committed Aug 24, 2016
1 parent cd5cdc8 commit 4f95200
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/environments/nodeEnvironment.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export default {
declarationKeyword: 'const',

// As listed in https://github.com/nodejs/node/tree/master/lib
//
// Note that we do not include `process` in this list because that is
Expand Down

0 comments on commit 4f95200

Please sign in to comment.