unplugin / unplugin-vue-markdown

Compile Markdown to Vue component
MIT License
508 stars 27 forks source link

Export typings correctly in package.json #21

Closed treins closed 1 year ago

treins commented 1 year ago

Problem

There ist an error when setting moduleResolution to the new bundler option.

Could not find a declaration file for module 'vite-plugin-vue-markdown'. '/node_modules/.pnpm/vite-plugin-vue-markdown@0.22.4_rollup@2.79.1_vite@4.2.1/node_modules/vite-plugin-vue-markdown/dist/index.mjs' implicitly has an 'any' type. There are types at '/node_modules/vite-plugin-vue-markdown/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'vite-plugin-vue-markdown' library may need to update its package.json or typings.