Skip to content

Commit

Permalink
nft allows you to override the resolve step with a hook however it do…
Browse files Browse the repository at this point in the history
…es not expose its internal resolveDependency implementation. This means if you want to take over resolving in certain cases you must do so in every case. To make conditional or augmented resolving possible this change reexports the resolveDependency function from the index. This way you can use it in custom resolve hook implementations
  • Loading branch information
gnoff committed Jul 13, 2023
1 parent 314fd53 commit dc66c8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
export * from './types';
export { nodeFileTrace } from './node-file-trace';
export { nodeFileTrace } from './node-file-trace';
import resolveDependency from './resolve-dependency';
export { resolveDependency };

0 comments on commit dc66c8f

Please sign in to comment.