You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/dependency.ts
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,10 @@
1
1
/* eslint-disable max-classes-per-file */
2
2
3
3
import{ReplaceSource}from"webpack-sources";
4
-
import*asdocGenfrom"react-docgen-typescript";
5
4
6
5
// eslint-disable-next-line
7
6
// @ts-ignore: What's the right way to refer to this one?
8
-
importModulefrom"webpack/lib/Module.js";
7
+
importHashfrom"webpack/lib/util/Hash.js";
9
8
10
9
// eslint-disable-next-line
11
10
// @ts-ignore: What's the right way to refer to this one?
@@ -25,7 +24,9 @@ class DocGenDependency extends NullDependency {
25
24
this.codeBlock=codeBlock;
26
25
}
27
26
28
-
// TODO: Note if you want that modules correctly invalidate and cache you need to add updateHash to your Dependency and hash the type info (because that might change depending on outside factors (other modules)
0 commit comments