⬆️ chore: update version

This commit is contained in:
zxwk 2024-05-13 18:04:48 +08:00
parent 823fa729a2
commit 9a8ad7fd4c
4 changed files with 163 additions and 537 deletions

View File

@ -66,10 +66,9 @@
"body-parser": "^1.20.2",
"chalk": "^4.1.2",
"chokidar": "^3.6.0",
"eslint": "^7.32.0",
"eslint": "^6.8.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-vue": "^9.1.1",
"filemanager-webpack-plugin": "^8.0.0",
"image-webpack-loader": "^8.1.0",
"lint-staged": "^15.2.2",
"prettier": "^2.8.8",

672
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -60,8 +60,6 @@ const setting = {
debounce: ['doEdit'],
//
providePlugin: { maptalks: 'maptalks', 'window.maptalks': 'maptalks' },
//npm run build7z
build7z: false,
//view
templateFolder: 'project',
//donation

View File

@ -14,7 +14,6 @@ const {
abbreviation,
devPort,
providePlugin,
build7z,
donation,
imageCompression,
} = require('./src/config')
@ -24,7 +23,6 @@ if (donation) donationConsole()
const { version, author } = require('./package.json')
const Webpack = require('webpack')
const WebpackBar = require('webpackbar')
const FileManagerPlugin = require('filemanager-webpack-plugin')
const dayjs = require('dayjs')
const date = dayjs().format('YYYY_M_D')
const time = dayjs().format('YYYY-M-D HH:mm:ss')
@ -148,27 +146,6 @@ module.exports = {
})
.end()
})
if (build7z) {
config.when(process.env.NODE_ENV === 'production', (config) => {
config
.plugin('fileManager')
.use(FileManagerPlugin, [
{
onEnd: {
delete: [`./${outputDir}/video`, `./${outputDir}/data`],
archive: [
{
source: `./${outputDir}`,
destination: `./${outputDir}/${abbreviation}_${outputDir}_${date}.7z`,
},
],
},
},
])
.end()
})
}
},
runtimeCompiler: true,
productionSourceMap: false,