Skip to content

Commit 19f789b

Browse files
committed
fix: Use the correct path for serialization
1 parent a3965f6 commit 19f789b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/dependency.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ class DocGenDependency extends NullDependency {
2424
// 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)
2525
}
2626

27-
makeSerializable(DocGenDependency, "src/dependency");
27+
makeSerializable(
28+
DocGenDependency,
29+
"react-docgen-typescript-plugin/dist/dependency"
30+
);
2831

2932
type Options = {
3033
parser: docGen.FileParser;

0 commit comments

Comments
 (0)