File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed
Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 88 "lint" : " eslint --config=./.eslintrc components" ,
99 "pages" : " webpack --config webpack.config.github.js" ,
1010 "compile" : " scripts/compile" ,
11+ "dist" : " scripts/dist" ,
1112 "test" : " scripts/test --single-run" ,
1213 "postinstall" : " node scripts/postinstall" ,
1314 "icons" : " node scripts/inline-icons.js" ,
Original file line number Diff line number Diff line change @@ -4,8 +4,5 @@ rm -rf lib/
44mkdir -p lib/
55
66BABEL="babel -d lib/ components/"
7- BUILD="webpack --devtool source-map --config webpack.config.build.js"
87
98eval $BABEL
10- #eval $BUILD
11- #eval "MINIFY=1 $BUILD"
Original file line number Diff line number Diff line change 1+ rm -rf dist/
2+ mkdir -p dist/
3+
4+ BUILD="webpack --devtool source-map --config webpack.config.build.js"
5+
6+ eval $BUILD
7+ eval "MINIFY=1 $BUILD"
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ module.exports = {
2525 } ,
2626 externals : {
2727 'react' : 'React' ,
28+ 'react-dom' : 'ReactDOM' ,
2829 'react/addons' : 'React'
2930 } ,
3031 resolve : {
You can’t perform that action at this time.
0 commit comments