-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(correct-ts-specifiers): use module.registerHooks
(for bundling)
#38
base: main
Are you sure you want to change the base?
fix(correct-ts-specifiers): use module.registerHooks
(for bundling)
#38
Conversation
7889cf7
to
ae5bd7d
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT
module.register('@nodejs-loaders/alias', import.meta.url); | ||
import * as aliasLoader from '@nodejs-loaders/alias/alias.loader.mjs'; | ||
|
||
module.registerHooks(aliasLoader); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module.registerHooks(aliasLoader); | |
// Registering sync hooks to resolve ts path alias | |
module.registerHooks(aliasLoader); |
This comment was marked as outdated.
This comment was marked as outdated.
Until available in `@types/node`
ce913c7
to
d89434c
Compare
CI is failing on node 22.x because |
Upstream fix to @types/node for type def: DefinitelyTyped/DefinitelyTyped#72122 |
When manually published, this now works with the codemod executable 🥳 Thanks Mo! |
Sweet ! |
No description provided.