mirror of
				https://gitee.com/chu1204505056/vue-admin-beautiful.git
				synced 2025-11-04 21:32:09 +08:00 
			
		
		
		
	⬆️ chore: update version
This commit is contained in:
		
							parent
							
								
									823fa729a2
								
							
						
					
					
						commit
						9a8ad7fd4c
					
				@ -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
									
									
									
								
							
							
						
						
									
										672
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -60,8 +60,6 @@ const setting = {
 | 
			
		||||
  debounce: ['doEdit'],
 | 
			
		||||
  //需要自动注入并加载的模块
 | 
			
		||||
  providePlugin: { maptalks: 'maptalks', 'window.maptalks': 'maptalks' },
 | 
			
		||||
  //npm run build时是否自动生成7z压缩包
 | 
			
		||||
  build7z: false,
 | 
			
		||||
  //代码生成机生成在view下的文件夹名称
 | 
			
		||||
  templateFolder: 'project',
 | 
			
		||||
  //是否显示终端donation打印
 | 
			
		||||
 | 
			
		||||
@ -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,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user