-
-
Notifications
You must be signed in to change notification settings - Fork 752
Description
Search Terms
multiple exports packages, node.js exports, package.json exports. which allow this kind of behavior
Problem
I have a monorepo where some packages exposes multiple exports through package.json exports directive.
import { something } from '@vendor/my-package/react'`
import { somethingElse } from '@vendor/my-package/next'I noticed with the package entryPointStrategy it will only look for a single entry point. Is there a easy way typedoc could be extended via plugins to search for every exports and create a module for each?
Alternatively I'm open to workaround but I couldn't find a way to have each export be treated as a separate module. What I ended up doing was creating a separate entry point that contains all of the exports but doing that groups separate exports into the same module.
For context, those packages are built separately which is why I'm using the packages strategy.