feat: access log mangement

This commit is contained in:
zzc
2025-05-07 20:35:49 +08:00
parent 36ad546e99
commit 0355575fee
17 changed files with 6753 additions and 8745 deletions

View File

@@ -26,8 +26,8 @@ const WebpackBar = require('webpackbar')
const dayjs = require('dayjs')
const date = dayjs().format('YYYY_M_D')
const time = dayjs().format('YYYY-M-D HH:mm:ss')
process.env.VUE_APP_TITLE = title || 'vue-admin-better'
process.env.VUE_APP_AUTHOR = author || 'https://vuejs-core.cn'
process.env.VUE_APP_TITLE = title || 'admin'
process.env.VUE_APP_AUTHOR = author || 'zzc'
process.env.VUE_APP_UPDATE_TIME = time
process.env.VUE_APP_VERSION = version
@@ -136,15 +136,15 @@ module.exports = {
.plugin('banner')
.use(Webpack.BannerPlugin, [`${webpackBanner}${time}`])
.end()
if (imageCompression)
config.module
.rule('images')
.use('image-webpack-loader')
.loader('image-webpack-loader')
.options({
bypassOnDebug: true,
})
.end()
// if (imageCompression)
// config.module
// .rule('images')
// // .use('image-webpack-loader')
// // .loader('image-webpack-loader')
// .options({
// bypassOnDebug: true,
// })
// .end()
})
},
runtimeCompiler: true,