mirror of
https://github.com/hanzoai/gui.git
synced 2026-10-25 02:31:41 +00:00
Node's require never selects a package's react-native condition and cannot load an ES module whose sources say a bare require, so the extractor resolves that entry itself and translates such a file to CommonJS as it loads. Directories are walked with the filesystem's glob, negative numbers become AST through valueToNode, the swallowed load error is named under DEBUG, and the optimize fixture is its source again with the suite restoring it after each run. Co-authored-by: Hanzo Dev <[email protected]>