add minified version
This commit is contained in:
parent
96aa3f9566
commit
c543bd9905
File diff suppressed because one or more lines are too long
5781
js/release.js
5781
js/release.js
File diff suppressed because it is too large
Load Diff
|
@ -5,6 +5,7 @@
|
||||||
"main": "js/main.js",
|
"main": "js/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress --colors",
|
"build": "webpack --progress --colors",
|
||||||
|
"build_prod": "webpack --progress --colors --mode production -o js/main.min.js",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"minify": "gulp minify-js && gulp minify-css",
|
"minify": "gulp minify-js && gulp minify-css",
|
||||||
"minify-js": "gulp minify-js",
|
"minify-js": "gulp minify-js",
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
const path = require("path");
|
const path = require("path");
|
||||||
const webpack = require("webpack");
|
|
||||||
|
|
||||||
module.exports = env => {
|
module.exports = {
|
||||||
return {
|
|
||||||
mode: "development",
|
mode: "development",
|
||||||
target: "node",
|
target: "node",
|
||||||
devtool: "none",
|
devtool: "none",
|
||||||
|
@ -29,5 +27,4 @@ module.exports = env => {
|
||||||
path.resolve("src", "ui")
|
path.resolve("src", "ui")
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
|
||||||
};
|
};
|
Loading…
Reference in New Issue