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.
34 lines
650 B
34 lines
650 B
const path = require('path');
|
|
module.exports = {
|
|
// publicPath: '/new/',
|
|
devServer: {
|
|
proxy: {
|
|
'/supernew': {
|
|
target: 'http://adminnew.pengda.checkcopy.com/',
|
|
changeOrigin: true,
|
|
},
|
|
'/agentnew': {
|
|
target: 'http://adminnew.pengda.checkcopy.com/',
|
|
changeOrigin: true,
|
|
}
|
|
}
|
|
},
|
|
configureWebpack: {
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.js$/,
|
|
exclude: /node_modules/,
|
|
use: {
|
|
loader: 'babel-loader',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
resolve:{
|
|
alias:{
|
|
'@':path.resolve(__dirname, 'src/')
|
|
}
|
|
}
|
|
},
|
|
};
|