Commit Graph
13 Commits
Author SHA1 Message Date
tbenandClaude Opus 5.5 33145bea9e 1.4.1: nested pages dirs, CommonJS require of react in client bundles
- Page URL paths are now relative to src/pages. The old greedy
  `.*/pages/` cut mapped src/pages/admin/pages/index.tsx to /index, so
  every page under a nested `pages` directory collided with the home page
  and was never bundled. SSR also tells API routes by URL path now.
- CommonJS `require("react…")` in client bundles (for example
  use-sync-external-store/shim, pulled in by MUI) threw "Dynamic require
  of "react" is not supported" in the browser. Those requires now go
  through a small bundled ESM module that imports the external.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-09 08:37:44 +01:00
tben c06cb73181 Update tests folder ingore pattern 2026-04-20 06:18:32 +01:00
tben f3bb972a20 Ignore test files/folders in bundling 2026-04-20 06:15:55 +01:00
tben 95fcee36b2 Fix server component stale caching. Add server components to SSR bundler 2026-04-19 09:04:55 +01:00
tben 84d490b189 Bugfix. Fix SSR pages filters. Remove dedicated API bundler, use SSR bundler for pages and api routes. 2026-04-12 06:48:10 +01:00
tben 532d0d6b56 Update excluded pages paths logic. Add HMR retries on errors. 2026-04-12 05:47:12 +01:00
tben 814a289460 Fix API bundler. Use new esbuild context builder for it. 2026-04-11 12:06:53 +01:00
tben 321c8ebb89 Refactor Bundler. Fix bugs. 2026-03-24 22:03:55 +01:00
tben 60ee353bf0 Refactor Server Paradigm. 2026-03-24 07:18:57 +01:00
tben 4b8b610e32 Updates 2026-03-23 07:42:00 +01:00
tben 1634eeb213 Major Refactoring. Test update 2026-03-22 16:45:12 +01:00
tben 7ef114ee70 Handle browser Errors. 2026-03-21 06:34:32 +01:00
tben eec0df83cd Add dist 2026-03-18 17:37:24 +01:00