Implemented notification strategy
This commit is contained in:
@@ -50,7 +50,7 @@ export default defineConfig(async ({ command }) => {
|
||||
build: {
|
||||
chunkSizeWarningLimit: 600,
|
||||
rollupOptions: {
|
||||
onwarn(warning, defaultHandler) {
|
||||
onwarn(warning: any, defaultHandler: any) {
|
||||
// Suppress benign Rollup warnings where Zod's internal explanatory doc comments mention `@__PURE__`
|
||||
if (
|
||||
warning.code === 'INVALID_ANNOTATION' &&
|
||||
@@ -61,7 +61,7 @@ export default defineConfig(async ({ command }) => {
|
||||
defaultHandler(warning);
|
||||
},
|
||||
output: {
|
||||
manualChunks(id) {
|
||||
manualChunks(id: string) {
|
||||
if (id.includes('node_modules')) {
|
||||
// 1. Heavy export and PDF document generation
|
||||
if (id.includes('xlsx')) {
|
||||
|
||||
Reference in New Issue
Block a user