mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 04:39:12 +08:00
fix(build): fix rollup compact not work
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
"dependencies": {
|
||||
"@iconify/iconify": "^2.0.0-rc.6",
|
||||
"@vueuse/core": "^4.0.10",
|
||||
"ant-design-vue": "2.0.0-rc.8",
|
||||
"ant-design-vue": "2.0.0-rc.9",
|
||||
"apexcharts": "^3.23.1",
|
||||
"axios": "^0.21.1",
|
||||
"crypto-es": "^1.2.6",
|
||||
@@ -46,7 +46,7 @@
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^11.0.0",
|
||||
"@commitlint/config-conventional": "^11.0.0",
|
||||
"@iconify/json": "^1.1.290",
|
||||
"@iconify/json": "^1.1.291",
|
||||
"@ls-lint/ls-lint": "^1.9.2",
|
||||
"@purge-icons/generated": "^0.6.0",
|
||||
"@types/echarts": "^4.9.3",
|
||||
@@ -95,7 +95,7 @@
|
||||
"stylelint-order": "^4.1.0",
|
||||
"ts-node": "^9.1.1",
|
||||
"typescript": "^4.1.3",
|
||||
"vite": "2.0.0-beta.47",
|
||||
"vite": "2.0.0-beta.48",
|
||||
"vite-plugin-html": "^2.0.0-beta.6",
|
||||
"vite-plugin-mock": "^2.0.0-rc.2",
|
||||
"vite-plugin-purge-icons": "^0.6.0",
|
||||
|
@@ -49,12 +49,6 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
|
||||
drop_console: VITE_DROP_CONSOLE,
|
||||
},
|
||||
},
|
||||
rollupOptions: {
|
||||
output: {
|
||||
compact: true,
|
||||
manualChunks: undefined,
|
||||
},
|
||||
},
|
||||
},
|
||||
define: {
|
||||
__VERSION__: pkg.version,
|
||||
|
Reference in New Issue
Block a user