Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ import {
PluginConfig,
GenerateURL,
GenerateLabel,
} from "@payloadcms/plugin-nested-docs/dist/types";
} from "@payloadcms/plugin-nested-docs/types";
```

## Development
Expand Down Expand Up @@ -242,5 +242,3 @@ To actively develop or debug this plugin you can either work directly within the
```

## Screenshots

<!-- ![screenshot 1](https://github.com/@payloadcms/plugin-nested-docs/blob/main/images/screenshot-1.jpg?raw=true) -->
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
"typescript": "^4.5.5"
},
"files": [
"dist"
"dist",
"types.js",
"types.d.ts"
]
}
1 change: 1 addition & 0 deletions types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './dist/types';
1 change: 1 addition & 0 deletions types.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/types');