File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11
11
"bugs" : " https://github.com/rackt/react-router/issues" ,
12
12
"scripts" : {
13
13
"build" : " scripts/build.sh" ,
14
- "watch" : " babel ./modules --watch -d build" ,
14
+ "watch" : " babel ./modules --watch -d build --optional es7.classProperties " ,
15
15
"build-website" : " babel-node website/scripts/build.js > website/index.html" ,
16
16
"examples" : " webpack-dev-server --config examples/webpack.config.js --content-base examples" ,
17
17
"prepublish" : " npm run build" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ build_dir=lib
6
6
7
7
rm -rf $build_dir
8
8
9
- $babel -d $build_dir ./modules
9
+ $babel ./modules -d $build_dir --optional es7.classProperties
10
10
find -X $build_dir -type d -name __tests__ | xargs rm -rf
11
11
NODE_ENV=production $webpack modules/index.js $build_dir /umd/ReactRouter.js
12
12
NODE_ENV=production COMPRESS=1 $webpack modules/index.js $build_dir /umd/ReactRouter.min.js
You can’t perform that action at this time.
0 commit comments