get back build compress
This commit is contained in:
+1
-1
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user