Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Commit

Permalink
"Fix" export
Browse files Browse the repository at this point in the history
Babel 6 doesn't do the default export like it used to, so it won't
work correctly in CJS-environments
  • Loading branch information
SimenB committed Nov 15, 2015
1 parent ed1174a commit 3232ec9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"presets": [
"es2015",
"stage-2"
],
"plugins": [
"babel-plugin-add-module-exports"
]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"babel-cli": "^6.1.18",
"babel-core": "^6.1.21",
"babel-istanbul": "^0.5.8",
"babel-plugin-add-module-exports": "^0.1.1",
"babel-preset-es2015": "^6.1.18",
"babel-preset-stage-2": "^6.1.18",
"coveralls": "^2.11.4",
Expand Down

0 comments on commit 3232ec9

Please sign in to comment.