Skip to content

Commit

Permalink
docs: add description about 'exports' and 'exportedBindings'
Browse files Browse the repository at this point in the history
  • Loading branch information
TrickyPi committed Dec 5, 2022
1 parent a779d51 commit e533d78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/05-plugin-development.md
Expand Up @@ -784,6 +784,8 @@ type ModuleInfo = {
importedIds: string[]; // the module ids statically imported by this module
importedIdResolutions: ResolvedId[]; // how statically imported ids were resolved, for use with this.load
importers: string[]; // the ids of all modules that statically import this module
exportedBindings: Record<string, string[]> | null; // contain exported variables with original `from` path
exports: string[] | null; // all exported variables
dynamicallyImportedIds: string[]; // the module ids imported by this module via dynamic import()
dynamicallyImportedIdResolutions: ResolvedId[]; // how ids imported via dynamic import() were resolved
dynamicImporters: string[]; // the ids of all modules that import this module via dynamic import()
Expand Down

0 comments on commit e533d78

Please sign in to comment.