mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-08 17:12:28 +08:00
JeecgBoot 3.1.0 版本发布,基于代码生成器的企业级低代码平台
This commit is contained in:
@ -14,6 +14,8 @@ module.exports = {
|
||||
*/
|
||||
// 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
|
||||
productionSourceMap: false,
|
||||
//qiankuan打包时放开
|
||||
//outputDir: "../dist/main",
|
||||
// 多入口配置
|
||||
// pages: {
|
||||
// index: {
|
||||
@ -23,7 +25,7 @@ module.exports = {
|
||||
// }
|
||||
// },
|
||||
//打包app时放开该配置
|
||||
//publicPath:'./',
|
||||
//publicPath:'/',
|
||||
configureWebpack: config => {
|
||||
//生产环境取消 console.log
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
@ -85,6 +87,15 @@ module.exports = {
|
||||
|
||||
devServer: {
|
||||
port: 3000,
|
||||
// hot: true,
|
||||
// disableHostCheck: true,
|
||||
// overlay: {
|
||||
// warnings: false,
|
||||
// errors: true,
|
||||
// },
|
||||
// headers: {
|
||||
// 'Access-Control-Allow-Origin': '*',
|
||||
// },
|
||||
proxy: {
|
||||
/* '/api': {
|
||||
target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro', //mock API接口系统
|
||||
|
||||
Reference in New Issue
Block a user