2 Star 4 Fork 2

michael / gushi_namer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
webpack.prod.js 519 Bytes
一键复制 编辑 原始数据 按行查看 历史
ymsang 提交于 2019-01-31 14:54 . paste all v2.0 version code
// const webpack = require('webpack');
const merge = require('webpack-merge');
const path = require('path');
const common = require('./webpack.common');
// const HtmlWebpackPlugin = require('html-webpack-plugin');
// const CleanWebpackPlugin = require('clean-webpack-plugin');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
module.exports = merge(common, {
output: {
filename: '[name].[chunkhash].js',
path: path.resolve(__dirname, 'dist'),
},
plugins: [
new UglifyJsPlugin(),
],
});
JavaScript
1
https://gitee.com/zhaodianshiqingzuo/gushi_namer.git
git@gitee.com:zhaodianshiqingzuo/gushi_namer.git
zhaodianshiqingzuo
gushi_namer
gushi_namer
master

搜索帮助