Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7731592

Browse files
committed
working faster minified prod build
1 parent 1acca67 commit 7731592

File tree

3 files changed

+53
-3652
lines changed

3 files changed

+53
-3652
lines changed

‎SSRtest/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "Server side rendering template for React 16",
55
"main": "src/index.js",
66
"scripts": {
7-
"start": "cross-env NODE_ENV=development babel-node src/index",
8-
"watch": "cross-env NODE_ENV=development babel-watch src/index",
7+
"start": "cross-env NODE_ENV=production babel-node src/index",
8+
"watch": "cross-env NODE_ENV=production babel-watch src/index",
99
"build": "npm run build:client && npm run build:server && npm run build:node",
1010
"build:client": "cross-env NODE_ENV=production webpack -p --config webpack/client.production.js",
1111
"build:server": "cross-env NODE_ENV=production webpack -p --config webpack/server.production.js",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /