提交 29251cf6 编写于 作者: guangjun.yang's avatar guangjun.yang

配置config文件等

上级 18c54dc5
// /* eslint-disable */
// const CompressionWebpackPlugin = require('compression-webpack-plugin');
const { NODE_ENV, VUE_APP_ENV } = process.env;
// const WebpackZipPlugin = require('webpack-zip-plugin');
// let plugins = [];
// /**
// if (NODE_ENV !== 'development') {
// plugins.push(
// new WebpackZipPlugin({
// initialFile: './dist',
// endPath: './',
// zipName: `pica-cloud-frontend-${VUE_APP_ENV}.zip`
// })
// );
// }
// **/
const { VUE_APP_ENV } = process.env;
module.exports = {
publicPath: '/wxpay/',
productionSourceMap: VUE_APP_ENV != 'prod' ? true : false,
// lintOnSave: undefined,
// css: {
// // modules: true,
// loaderOptions: {
// less: {
// modifyVars: {
// green: '#35CBCA'
// }
// }
// }
// },
// configureWebpack: {
// optimization: {
// minimize: false
// }
// },
// transpileDependencies: ['web-buried-point'],
// chainWebpack: config => {
// config.module
// .rule('images')
// .use('url-loader')
// .loader('url-loader')
// .tap(options => Object.assign(options, { limit: 10240 }));
// }
};
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册