!1 Merge back to master

Merge pull request !1 from dev branch
This commit is contained in:
hekk 2018-05-27 21:32:55 +08:00
parent 30c963a5f0
commit 61a1c93f0f
89 changed files with 15859 additions and 2 deletions

View file

@ -0,0 +1,16 @@
const common = require("./webpack.config.common.js");
const merge = require("webpack-merge");
const UglifyJS = require("uglifyjs-webpack-plugin");
const webpack = require("webpack");
module.exports = merge(common, {
devtool: "source-map",
plugins: [
new UglifyJS({
sourceMap: true
}),
new webpack.DefinePlugin({
"process.env.NODE_ENV": JSON.stringify("production")
})
]
});