Skip to content

Conversation

@Tmony117
Copy link

…pp startup

  • Filter invalid environment variable names (spaces, special chars) that cause esbuild parse errors (e.g., 'IntelliJ IDEA Community Edition', 'ProgramFiles(x86)')
  • Update deprecated 'assert' syntax to 'with' for JSON imports (Node.js 18+)
  • Add alias for react-virtualized to use CommonJS build instead of ES modules to fix "No matching export" errors during bundling
  • Explicitly define all environment variables in esbuild 'define' config to ensure proper substitution at build time for browser environment
  • Add process polyfill plugin to provide fallback process object in browser context, preventing "process is not defined" runtime errors

Fixes build failures and runtime errors when starting the demo app dev server.

…pp startup

- Filter invalid environment variable names (spaces, special chars) that cause
  esbuild parse errors (e.g., 'IntelliJ IDEA Community Edition', 'ProgramFiles(x86)')
- Update deprecated 'assert' syntax to 'with' for JSON imports (Node.js 18+)
- Add alias for react-virtualized to use CommonJS build instead of ES modules
  to fix "No matching export" errors during bundling
- Explicitly define all environment variables in esbuild 'define' config to
  ensure proper substitution at build time for browser environment
- Add process polyfill plugin to provide fallback process object in browser
  context, preventing "process is not defined" runtime errors

Fixes build failures and runtime errors when starting the demo app dev server.
Signed-off-by: Tmony <testimonyatsu99@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant