Skip to content

Commit

Permalink
fix: Fix commonjs and global default exports
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchin committed Jan 30, 2017
1 parent d7d774e commit ff39e9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"plugins": [
"add-module-exports",
"transform-object-rest-spread",
"transform-decorators-legacy",
"transform-react-jsx"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"babel-core": "^6.22.1",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.2.10",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-istanbul": "^3.1.2",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-object-rest-spread": "^6.22.0",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const webpackConfig = {
output: {
filename: '[name]',
path: './lib/bundle',
library: 'ReactInputRange',
library: 'InputRange',
libraryTarget: 'umd',
},
module: {
Expand Down

0 comments on commit ff39e9d

Please sign in to comment.