Related plugins
Describe the bug
The last line of dist/index.d.mts (and .d.ts) is:
export { vueJsxPluginCjs as 'module.exports', type FilterOptions, type Options, vueJsxPlugin as default };
I do not think this is valid -- and as it is a .d.mts file, there should also be no CJS interop in the file.
I'm also unclear why 'module.exports' is actually exported from index.mjs?
spotted in https://github.com/nuxt/ecosystem-ci/actions/runs/15928068917/job/44930076588#step:7:118
(Note - this is also true for plugin-vue, in the equivalent files.)
Reproduction
https://app.unpkg.com/@vitejs/plugin-vue-jsx@5.0.0/files/dist/index.d.mts
Steps to reproduce
No response
System Info
Used Package Manager
pnpm
Logs
No response
Validations
Related plugins
plugin-vue
plugin-vue-jsx
Describe the bug
The last line of
dist/index.d.mts(and.d.ts) is:I do not think this is valid -- and as it is a
.d.mtsfile, there should also be no CJS interop in the file.I'm also unclear why 'module.exports' is actually exported from
index.mjs?spotted in https://github.com/nuxt/ecosystem-ci/actions/runs/15928068917/job/44930076588#step:7:118
(Note - this is also true for
plugin-vue, in the equivalent files.)Reproduction
https://app.unpkg.com/@vitejs/plugin-vue-jsx@5.0.0/files/dist/index.d.mts
Steps to reproduce
No response
System Info
Used Package Manager
pnpm
Logs
No response
Validations