Skip to content

Commit defa828

Browse files
committed
try to fix #31
1 parent 1375800 commit defa828

File tree

2 files changed

+10
-111
lines changed

2 files changed

+10
-111
lines changed

lib/react-switch-button.js

Lines changed: 0 additions & 110 deletions
This file was deleted.

package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-switch-button",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"private": false,
55
"description": "A React UI Component to display an awesome Switch (swipe) Button control",
66
"main": "dist/react-switch-button.min.js",
@@ -33,6 +33,15 @@
3333
"react-dom": "~15.4.2",
3434
"webpack-strip-blocks": "^1.0.0"
3535
},
36+
"browser": "src/react-switch-button.jsx",
37+
"browserify": {
38+
"transform": [
39+
"babelify"
40+
]
41+
},
42+
"browserify-shim": {
43+
"react": "global:React"
44+
},
3645
"keywords": [
3746
"react",
3847
"react-component"

0 commit comments

Comments
 (0)