diff options
| author | mokha <mokha@cisco.com> | 2018-09-29 11:41:21 -0600 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2018-09-29 11:41:22 -0600 |
| commit | f1332722aab7e6536787ad2074f7d888fbcb6e60 (patch) | |
| tree | d9008f948de83efb38d798eb7a8c18ea40be3faa /package.json | |
| parent | e9e7a46656da65b582fc44a1108c26fab115c99a (diff) | |
add react app
* https://survivejs.com/webpack/output/server-side-rendering/
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json index 1feaa7b..bf636ff 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "", "main": "index.js", "scripts": { + "build:ssr": "webpack --config webpack.ssr.js", "build:stats": "webpack --env production --json > stats.json", "build": "webpack --env production", "start": "webpack-dev-server --env development", @@ -15,10 +16,12 @@ "devDependencies": { "@babel/core": "^7.1.1", "@babel/preset-env": "^7.1.0", + "@babel/preset-react": "^7.0.0", "autoprefixer": "^9.1.5", "babel-loader": "^8.0.4", "babel-plugin-syntax-dynamic-import": "^6.18.0", "babel-preset-env": "^1.7.0", + "babel-preset-react": "^6.24.1", "clean-webpack-plugin": "^0.1.19", "css-loader": "^1.0.0", "cssnano": "^4.1.4", |
