-
Notifications
You must be signed in to change notification settings - Fork 2
Adjust performance budget to realistic threshold and fix TypeScript compilation warnings #1223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| /** | ||
| * Type declarations for AG Grid CSS imports | ||
| * Allows importing CSS files as modules without TypeScript errors | ||
| */ | ||
|
|
||
| declare module 'ag-grid-community/styles/ag-grid.css'; | ||
| declare module 'ag-grid-community/styles/ag-theme-quartz.css'; | ||
| declare module 'ag-grid-community/styles/ag-theme-alpine.css'; | ||
| declare module 'ag-grid-community/styles/ag-theme-balham.css'; | ||
| declare module 'ag-grid-community/styles/ag-theme-material.css'; |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,6 +4,9 @@ import dts from 'vite-plugin-dts'; | |||||||
| import { resolve } from 'path'; | ||||||||
|
|
||||||||
| export default defineConfig({ | ||||||||
| define: { | ||||||||
| 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production'), | ||||||||
| }, | ||||||||
|
Comment on lines
+7
to
+9
|
||||||||
| define: { | |
| 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production'), | |
| }, |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,6 +4,9 @@ import dts from 'vite-plugin-dts'; | |||||||
| import { resolve } from 'path'; | ||||||||
|
|
||||||||
| export default defineConfig({ | ||||||||
| define: { | ||||||||
| 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production'), | ||||||||
| }, | ||||||||
|
Comment on lines
+7
to
+9
|
||||||||
| define: { | |
| 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production'), | |
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment says the entry must be "< 350 KB", but the budget check fails only when
GZIP_KB > MAX_ENTRY_GZIP_KB(so== 350passes). Either adjust the comment to say "<=" or update the comparison to match the intended strictness. Also consider comparing using the unrounded byte value (or more precision) so rounding to 0.1 KB can’t allow a slightly-over-budget bundle to pass.