Skip to content

Commit

Permalink
chore: chunkSizeWarningLimit 2048
Browse files Browse the repository at this point in the history
  • Loading branch information
ATQQ committed Nov 7, 2024
1 parent 67cb485 commit 5d282a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/theme/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

### Patch Changes

- chore: update dependencies
- fix: sass warn - [legacy-js-api](https://sass-lang.com/documentation/breaking-changes/legacy-js-api/)
- chore: update dependencies
- chore: chunkSizeWarningLimit 2048

## 0.5.1

Expand Down
3 changes: 2 additions & 1 deletion packages/theme/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ bun install vitepress@latest

### Patch Changes

- chore: update dependencies
- fix: sass warn - [legacy-js-api](https://sass-lang.com/documentation/breaking-changes/legacy-js-api/)
- chore: update dependencies
- chore: chunkSizeWarningLimit 2048

## 0.5.1 (2024/10/21)

Expand Down
4 changes: 4 additions & 0 deletions packages/theme/src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ export function getThemeConfig(cfg: Partial<Theme.BlogConfig> = {}) {
},
},
},
build: {
// https://vite.dev/config/build-options.html#build-chunksizewarninglimit
chunkSizeWarningLimit: 2048
}
},
}

Expand Down

0 comments on commit 5d282a5

Please sign in to comment.