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