Skip to content

Commit

Permalink
fix: manual chunks config
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed Aug 7, 2022
1 parent 04b8723 commit 0f3f63c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "veact-admin",
"version": "1.6.0",
"version": "1.6.1",
"author": "Surmon",
"license": "MIT",
"repository": {
Expand Down
2 changes: 0 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ const config: UserConfig = {
const incs = (ds: string[]) => ds.some((d) => id.includes(`node_modules/${d}`))
if (incs(['monaco-editor'])) {
return 'monaco-editor'
} else if (incs(['@ant-design', 'ant'])) {
return 'antd'
} else if (incs(['axios', 'lodash', 'marked', 'moment', 'highlight.js'])) {
return 'basic'
} else if (id.includes('node_modules')) {
Expand Down

0 comments on commit 0f3f63c

Please sign in to comment.