mirror of https://gitee.com/xiaonuobase/snowy
【更新】升级前端该升级的依赖,优化该优化的优化,同时增加了gzip的配置,生产环境按照官网的配置部署速度更快
parent
e1efbab2dc
commit
6cdbca8f38
|
@ -17,20 +17,21 @@
|
|||
"prod": "vite --mode production"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ant-design/colors": "4.0.1",
|
||||
"@ant-design/icons-vue": "^6.0.1",
|
||||
"@ant-design/colors": "6.0.0",
|
||||
"@ant-design/icons-vue": "^6.1.0",
|
||||
"@antv/g2plot": "^2.4.10",
|
||||
"@chenfengyuan/vue-qrcode": "2",
|
||||
"@chenfengyuan/vue-qrcode": "2.0.0",
|
||||
"@highlightjs/vue-plugin": "^2.1.0",
|
||||
"@tinymce/tinymce-vue": "4.0.5",
|
||||
"ant-design-vue": "3.2.10",
|
||||
"axios": "0.24.0",
|
||||
"@tinymce/tinymce-vue": "5.0.0",
|
||||
"ant-design-vue": "3.2.13",
|
||||
"axios": "1.1.3",
|
||||
"core-js": "^3.26.0",
|
||||
"cropperjs": "1.5.12",
|
||||
"dayjs": "^1.11.5",
|
||||
"echarts": "5.2.2",
|
||||
"dayjs": "^1.11.6",
|
||||
"echarts": "^5.4.0",
|
||||
"echarts-stat": "^1.2.0",
|
||||
"enquire.js": "^2.1.6",
|
||||
"fuse.js": "^6.4.6",
|
||||
"fuse.js": "^6.6.2",
|
||||
"highlight.js": "^11.6.0",
|
||||
"hotkeys-js": "^3.10.0",
|
||||
"js-pinyin": "^0.1.9",
|
||||
|
@ -39,44 +40,43 @@
|
|||
"screenfull": "^6.0.2",
|
||||
"sm-crypto": "^0.3.11",
|
||||
"snowflake-id": "^1.1.0",
|
||||
"sortablejs": "1.14.0",
|
||||
"tinymce": "5.10.2",
|
||||
"vue": "3.2.31",
|
||||
"sortablejs": "^1.15.0",
|
||||
"tinymce": "^6.2.0",
|
||||
"vue": "3.2.41",
|
||||
"vue-cropper": "^1.0.1",
|
||||
"vue-i18n": "^9.1.10",
|
||||
"vue-router": "4.0.12",
|
||||
"vue-i18n": "^9.2.2",
|
||||
"vue-router": "^4.1.6",
|
||||
"vue3-colorpicker": "^2.0.4",
|
||||
"vue3-tree-org": "^3.1.6",
|
||||
"vuedraggable-es": "4.1.0",
|
||||
"vuex": "4.0.2"
|
||||
"vue3-tree-org": "^4.1.1",
|
||||
"vuedraggable-es": "^4.1.1",
|
||||
"vuex": "^4.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^0.29.2",
|
||||
"@antfu/utils": "0.6.0",
|
||||
"@antfu/eslint-config": "^0.29.3",
|
||||
"@babel/eslint-parser": "^7.19.1",
|
||||
"@vitejs/plugin-legacy": "^1.6.4",
|
||||
"@vitejs/plugin-vue": "^2.1.0",
|
||||
"@vitejs/plugin-vue-jsx": "^1.3.8",
|
||||
"@vue/compiler-sfc": "^3.2.31",
|
||||
"@vue/eslint-config-standard": "^4.0.0",
|
||||
"antd-dayjs-vite-plugin": "^1.2.2",
|
||||
"@vue/compiler-sfc": "^3.2.41",
|
||||
"@vue/eslint-config-standard": "^8.0.1",
|
||||
"antd-less-to-css-variable": "^1.0.5",
|
||||
"autoprefixer": "^10.4.2",
|
||||
"babel-eslint": "10.1.0",
|
||||
"eslint": "^7.11.0",
|
||||
"autoprefixer": "^10.4.13",
|
||||
"eslint": "^8.26.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-plugin-vue": "^9.1.1",
|
||||
"less": "^4.1.2",
|
||||
"postcss": "^8.4.7",
|
||||
"prettier": "^2.4.1",
|
||||
"rollup-plugin-visualizer": "^5.7.1",
|
||||
"tailwindcss": "^3.0.23",
|
||||
"typescript": "^4.5.5",
|
||||
"unplugin-auto-import": "^0.11.1",
|
||||
"unplugin-vue-components": "^0.17.14",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-vue": "^9.7.0",
|
||||
"less": "^4.1.3",
|
||||
"postcss": "^8.4.18",
|
||||
"prettier": "^2.7.1",
|
||||
"rollup-plugin-visualizer": "^5.8.3",
|
||||
"tailwindcss": "^3.2.1",
|
||||
"typescript": "^4.8.4",
|
||||
"unplugin-auto-import": "^0.11.4",
|
||||
"unplugin-vue-components": "^0.22.9",
|
||||
"vite": "2.8.6",
|
||||
"vite-plugin-compression": "^0.5.1",
|
||||
"vite-plugin-vue-setup-extend": "^0.4.0",
|
||||
"vue-eslint-parser": "^9.0.3"
|
||||
"vue-eslint-parser": "^9.1.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
|
||||
* 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
|
||||
*/
|
||||
import generate from '@ant-design/colors/lib/generate'
|
||||
import { generate } from '@ant-design/colors';
|
||||
import tool from '../utils/tool'
|
||||
import config from '../config'
|
||||
import { ThemeModeEnum } from './enum'
|
||||
|
|
|
@ -16,8 +16,8 @@ import VueJSX from '@vitejs/plugin-vue-jsx'
|
|||
import AutoImport from 'unplugin-auto-import/vite'
|
||||
import vueSetupExtend from 'vite-plugin-vue-setup-extend'
|
||||
import { visualizer } from 'rollup-plugin-visualizer'
|
||||
import { antdDayjs } from 'antd-dayjs-vite-plugin'
|
||||
import Less2CssVariablePlugin from 'antd-less-to-css-variable'
|
||||
import viteCompression from 'vite-plugin-compression'
|
||||
|
||||
export const r = (...args) => resolve(__dirname, '.', ...args)
|
||||
|
||||
|
@ -90,6 +90,7 @@ export default defineConfig(({ command, mode }) => {
|
|||
refTransform: true
|
||||
}
|
||||
}),
|
||||
viteCompression(),
|
||||
vueSetupExtend(),
|
||||
VueJSX(),
|
||||
AutoImport({
|
||||
|
@ -103,7 +104,6 @@ export default defineConfig(({ command, mode }) => {
|
|||
dts: false,
|
||||
resolvers: []
|
||||
}),
|
||||
antdDayjs(),
|
||||
visualizer()
|
||||
],
|
||||
css: {
|
||||
|
|
Loading…
Reference in New Issue