You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature: Expose esm hooks factory to public API (#1439)
* Add esm to project exports
* Convert internal `registerAndCreateEsmHooks` to `createEsmHooks` API
* Revert "Add esm to project exports"
This reverts commit f53ac63.
* Revert esm loaders + add `registerAndCreateEsmHooks`
* Add tests for `createEsmHooks`
* refactor experimentalEsmLoader into an @internal method on the Service: enableExperimentalEsmLoaderInterop()
This avoids consumers needing to pass an @internal flag at service creation time, since we can call the method automatically within createEsmHooks.
* lint-fix
* Make test case more robust
* fix
* Fix version check; we do not support ESM loader on less than node 12.16
Co-authored-by: Andrew Bradley <[email protected]>
0 commit comments