feat: access log mangement
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user