Commit Graph

9 Commits

Author SHA1 Message Date
Derrick Hammer c3bfb3e6c5
*Since ESM imports will get rewritten import loady as ESM so it can be processed when importing ESM files 2023-01-01 12:57:21 -05:00
Derrick Hammer def6a395a4
*We do not need to return loadPath 2023-01-01 12:19:23 -05:00
Derrick Hammer 0a73d099f5
*Add support for node-gyp-build-optional-packages
*refactor to have loadNativeModuleTemp require loady
*Allow cjs files
*Add detection for "loadNAPI__default"
*Crawl the package tree to find package.json if needed
*Add heuristic for building moduleName for node-gyp-build
2023-01-01 01:49:59 -05:00
Derrick Hammer d220d9831e
*Add support for node-gyp-build-optional-packages 2022-12-31 22:45:07 -05:00
Derrick Hammer 49c07dda52
*Add support for node-gyp-build 2022-12-20 13:28:49 -05:00
Derrick Hammer d5ab556f45
*Edit list should be tracked per transform 2022-12-14 14:34:29 -05:00
Derrick Hammer e3199939b0
*Bug fix path loading
*Ensure process.pkg is unset as it causes loady to behave differently, and we do not need it
2022-12-14 13:48:11 -05:00
Derrick Hammer 8652d0f19d
*Add a function and default export 2022-12-13 05:35:26 -05:00
Derrick Hammer 21d86a3051
*Initial version 2022-12-13 05:30:20 -05:00