Skip to content

Commit

Permalink
add fileResolve option
Browse files Browse the repository at this point in the history
  • Loading branch information
KingSora authored and madyankin committed Nov 4, 2022
1 parent 7bb6d2d commit 86d8135
Show file tree
Hide file tree
Showing 8 changed files with 22,235 additions and 22,100 deletions.
5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ declare interface Options {
Loader?: typeof Loader;

resolve?: (file: string) => string | Promise<string>;

fileResolve?: (
file: string,
importer: string
) => string | null | Promise<string | null>;
}

declare interface PostcssModulesPlugin {
Expand Down

0 comments on commit 86d8135

Please sign in to comment.