Skip to content
Permalink
Browse files

fix: Fix commonjs and global default exports

  • Loading branch information...
davidchin committed Jan 30, 2017
1 parent d7d774e commit ff39e9d74f3e2225367daee66664f07a0e2821db
Showing with 3 additions and 1 deletion.
  1. +1 −0 .babelrc
  2. +1 −0 package.json
  3. +1 −1 webpack.config.js
@@ -1,5 +1,6 @@
{
"plugins": [
"add-module-exports",
"transform-object-rest-spread",
"transform-decorators-legacy",
"transform-react-jsx"
@@ -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",
@@ -13,7 +13,7 @@ const webpackConfig = {
output: {
filename: '[name]',
path: './lib/bundle',
library: 'ReactInputRange',
library: 'InputRange',
libraryTarget: 'umd',
},
module: {

0 comments on commit ff39e9d

Please sign in to comment.
You can’t perform that action at this time.