You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
707 B
JavaScript
32 lines
707 B
JavaScript
/*
|
|
* @Descripttion: 前端开发
|
|
* @version: 1.0
|
|
* @Author: ls
|
|
* @Date: 2019-11-26 18:09:54
|
|
* @LastEditors: ls
|
|
* @LastEditTime: 2020-08-15 09:52:51
|
|
*/
|
|
module.exports = {
|
|
lintOnSave: false,
|
|
publicPath: './',
|
|
css: {
|
|
|
|
},
|
|
productionSourceMap: false,
|
|
chainWebpack: config => {
|
|
// 其他配置
|
|
configureWebpack: config => {
|
|
config.entry.app = ["babel-polyfill", "./src/main.js"];
|
|
}
|
|
// 其他配置
|
|
},
|
|
// devServer: {
|
|
// proxy: {
|
|
// '/api': {
|
|
// target: 'http://mode.spicycloud.cn',
|
|
// secure: false,
|
|
// changeOrigin: true
|
|
// }
|
|
// }
|
|
// }
|
|
} |