Compare commits

..
2 Commits
Author SHA1 Message Date
手瓜一十雪 377c780d1a Comment out manual chunking for @heroui in Vite config
Release NapCat / Build-Framework (push) Canceled after 0s
Release NapCat / Build-Shell (push) Canceled after 0s
Release NapCat / Download-QNX64 (push) Canceled after 0s
Release NapCat / release-napcat (push) Canceled after 0s
The manual chunking logic for '@heroui' modules in the Vite configuration has been commented out. This may be to simplify chunk splitting or address build issues related to custom chunking.
2025-12-24 19:31:52 +08:00
手瓜一十雪 aefa8985b1 Remove vite-plugin-font and related dependencies
Release NapCat / Build-Framework (push) Canceled after 0s
Release NapCat / Build-Shell (push) Canceled after 0s
Release NapCat / Download-QNX64 (push) Canceled after 0s
Release NapCat / release-napcat (push) Canceled after 0s
This update removes vite-plugin-font and its associated dependencies from pnpm-lock.yaml. This likely reflects a cleanup of unused packages or a migration away from font-related build tooling.
2025-12-24 18:30:55 +08:00
2 changed files with 4 additions and 504 deletions

No files matched your search

@@ -13,7 +13,7 @@ export default defineConfig(({ mode }) => {
plugins: [
react(),
tsconfigPaths(),
ViteImageOptimizer({}),
ViteImageOptimizer({})
],
base: '/webui/',
server: {
@@ -40,9 +40,9 @@ export default defineConfig(({ mode }) => {
output: {
manualChunks (id) {
if (id.includes('node_modules')) {
if (id.includes('@heroui/')) {
return 'heroui';
}
// if (id.includes('@heroui/')) {
// return 'heroui';
// }
if (id.includes('react-dom')) {
return 'react-dom';
}
-500
View File
File diff suppressed because it is too large. Load diff