We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bea8e1 commit ad10895Copy full SHA for ad10895
Rakefile
@@ -19,8 +19,7 @@ namespace :react do
19
desc "Build the JS bundles with Webpack"
20
task :build do
21
Dir.chdir("react-builds") do
22
- `webpack`
23
- `NODE_ENV=production webpack -p`
+ `npm run build`
24
end
25
26
react-builds/package.json
@@ -15,5 +15,8 @@
15
"react-addons-update": "^15.3.0",
16
"react-dom": "^15.3.0",
17
"webpack": "^1.12.2"
18
+ },
+ "scripts": {
+ "build": "webpack && NODE_ENV=production webpack -p"
}
0 commit comments