Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@fontsource-variable/fraunces": "^5.2.9",
"@fontsource-variable/inter": "^5.2.8",
"@fontsource-variable/jetbrains-mono": "^5.2.8",
"@mui/material": "^9.0.1",
"@mui/material": "^9.1.0",
"@mui/x-data-grid": "^9.4.0",
"@pretable-internal/bench-runner": "workspace:*",
"@pretable-internal/scenario-data": "workspace:*",
Expand Down
15 changes: 15 additions & 0 deletions apps/bench/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,20 @@ export default defineConfig({
include: ["src/**/*.test.ts", "src/**/*.test.tsx"],
exclude: ["tests/**"],
passWithNoTests: true,
server: {
deps: {
// The MUI comparator adapter imports @mui/x-data-grid, which transitively
// pulls @mui/material's ESM build (Transition.mjs). That build does a
// directory import of `react-transition-group/TransitionGroupContext`,
// resolvable only via the package's nested package.json redirect — a
// bundler-only pattern Node's native ESM loader rejects ("Directory
// import ... is not supported"). Inlining the whole @mui scope (not just
// @mui/material — x-data-grid is the entry point) plus react-transition-
// group routes the chain through Vite's transform pipeline, whose resolver
// honors the redirect. MUI is a bench-only comparator, not shipped in any
// @pretable/* package.
inline: [/@mui\//, /react-transition-group/],
},
},
},
});
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@arethetypeswrong/cli": "^0.18.3",
"@changesets/cli": "^2.31.0",
"@eslint/js": "^10.0.1",
"@microsoft/api-extractor": "^7.52.5",
"@microsoft/api-extractor": "^7.58.8",
"@microsoft/tsdoc": "^0.16.0",
"@playwright/test": "^1.60.0",
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
Expand All @@ -58,7 +58,7 @@
"tsup": "^8.5.1",
"tsx": "^4.22.4",
"typescript": "^6.0.3",
"typescript-eslint": "^8.60.1",
"typescript-eslint": "^8.61.0",
"vite": "^8.0.16",
"vitest": "^4.1.8"
}
Expand Down
Loading