Skip to content

Commit 5d282a5

Browse files
committed
chore: chunkSizeWarningLimit 2048
1 parent 67cb485 commit 5d282a5

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

packages/theme/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44

55
### Patch Changes
66

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

1011
## 0.5.1
1112

packages/theme/docs/changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ bun install vitepress@latest
3131

3232
### Patch Changes
3333

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

3738
## 0.5.1 (2024/10/21)
3839

packages/theme/src/node.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ export function getThemeConfig(cfg: Partial<Theme.BlogConfig> = {}) {
3232
},
3333
},
3434
},
35+
build: {
36+
// https://vite.dev/config/build-options.html#build-chunksizewarninglimit
37+
chunkSizeWarningLimit: 2048
38+
}
3539
},
3640
}
3741

0 commit comments

Comments
 (0)