brain-vue-cli
Version:
A command line tool used to run projects
46 lines • 1.07 kB
JavaScript
module.exports = {
name: "test",
open: true,
projectType:"js",// 项目类型js,ts 默认js
defaultPort: 8000,
server: "0.0.0.0",
imageInLineSize: 8192,
publicPath: "/public/",
chunkhash:true,
disableEslint:false,
devServer: {
proxy: {}
/*proxy: [{
context: ['/**', '!/static/**', '!/webpack/**', '!/webpack-dev-server/**', '!/sockjs-node/**', '!/index.html'],
target: 'http://tstmanage.360kad.com
',
changeOrigin: true
}]*/
},
postcss: {
autoprefixer: {
/**
* 参考dora配置
*/
browsers: [
"last 2 versions",
"Firefox ESR",
"> 1%",
"ie >= 8"
]
}
},
webpack: {
dllConfig: {
vendors: ['vue','vue-router']
},
happypack:false
},
babel: {
include:['node_modules/bgood-widget']
},
htmlWebpackPlugin: {
title: "",
},
apps: ['app1','app2']
};