Closed TatsuyaYamamoto closed 7 months ago
Sorry for creating a PR without creating an issue.
I noticed to need to edit package.json to resolve type of vitepress-plugin-mermaid. types must be defined in exports field for conditional export environment.
vitepress-plugin-mermaid
types
For example, vue/core has a similar definition. https://github.com/vuejs/core/blob/main/packages/vue/package.json#L22
Sorry for creating a PR without creating an issue.
I noticed to need to edit package.json to resolve type of
vitepress-plugin-mermaid
.types
must be defined in exports field for conditional export environment.For example, vue/core has a similar definition. https://github.com/vuejs/core/blob/main/packages/vue/package.json#L22