Skip to content

Commit 78bd674

Browse files
authored
Merge pull request #58 from bigmistqke/master
update readme
2 parents 42e9f17 + a446d72 commit 78bd674

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,15 @@ parseDependencyTree('./index', {
170170
* the parse options
171171
*/
172172
export interface ParseOptions {
173-
context: string; // context to shorten filename, default is process.cwd()
174-
extensions: string[]; // the custom extensions to resolve file, default is [ '.ts', '.tsx', '.mjs', '.js', '.jsx', '.json' ]
175-
include: RegExp; // the files to parse match regex, default is /\.m?[tj]sx?$/
176-
exclude: RegExp; // the files to ignore parse, default is /\/node_modules\//
173+
context: string;
174+
extensions: string[];
175+
js: string[];
176+
include: RegExp;
177+
exclude: RegExp;
178+
tsconfig: string | undefined;
179+
onProgress: (event: 'start' | 'end', target: string) => void;
180+
transform: boolean;
181+
skipDynamicImports: boolean;
177182
}
178183
179184
export enum DependencyKind {

0 commit comments

Comments
 (0)