Skip to content

Commit

Permalink
fix(build): fix rollup compact not work
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Jan 25, 2021
1 parent c1a4600 commit 783e658
Show file tree
Hide file tree
Showing 3 changed files with 266 additions and 622 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
6 changes: 0 additions & 6 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading

0 comments on commit 783e658

Please sign in to comment.