reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

invalid_url_activation_failure

reqlan rq/extension/startup-performance.rq:26

The concrete incident failed while requiring `out/extension/main.cjs`, before `activate()` ran:
`TypeError: Invalid URL` in `embedPhysicsCoreSource`.
Runtime `readFileSync(new URL(..., import.meta.url))` is unsafe when esbuild emits CommonJS for an ES2017 target: `import.meta.url` is unavailable / empty and source-relative assets do not exist beside the bundled entry.
The fix generates and imports `PHYSICS_CORE_CLASSIC_SOURCE` at build time instead of resolving the source file at extension runtime.
html-export-assets.ts
generate-physics-core-source.mjs

Status: done

Interactive page: invalid_url_activation_failure