mirror of
https://github.com/hanzoai/gui.git
synced 2026-10-25 02:31:41 +00:00
The CommonJS pass rewrites a dynamic import into a require, which cannot take the file URL the ESM path hands it, so the load goes through here.ts and its .cjs sibling. create-gui reads its manifest from the package root at run time, names its relative imports with their extension, and imports opener instead of requiring it. Co-authored-by: Hanzo Dev <[email protected]>