forked from ccsens_fe/tall-mui-3
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
398 B
14 lines
398 B
4 years ago
|
const path = require('path');
|
||
|
const CopyWebpackPlugin = require('copy-webpack-plugin'); //最新版本copy-webpack-plugin插件暂不兼容,推荐v5.0.0
|
||
|
|
||
|
module.exports = {
|
||
|
lintOnSave: process.env.NODE_ENV !== 'production',
|
||
|
productionSourceMap: false,
|
||
|
devServer: {
|
||
|
open: true,
|
||
|
overlay: { warnings: true, errors: true },
|
||
|
// proxy: {}
|
||
|
},
|
||
|
configureWebpack: { plugins: [] },
|
||
|
};
|