get back build compress

This commit is contained in:
igoradamenko
2018-04-08 14:53:24 +03:00
parent 10df17b2c6
commit 6566bc7412
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "remark-ui",
"version": "0.1.0",
"scripts": {
"build": "webpack --config ./webpack.config.js",
"build": "NODE_ENV=production webpack --config ./webpack.config.js",
"start": "webpack-dev-server --progress --hot --inline --config ./webpack.config.js",
"reinstall": "rm -rf ./node_modules/ && npm install"
},
-1
View File
@@ -10,7 +10,6 @@ const Define = webpack.DefinePlugin;
const { NODE_ID } = require('./app/common/constants');
const publicFolder = path.resolve(__dirname, 'public');
console.log(process)
const env = process.env.NODE_ENV || 'dev';
const url = process.env.REMARK_URL || 'https://demo.remark42.com';