-
Couldn't load subscription status.
- Fork 82
Description
Describe the bug
Hello since version 0.8.22 the package is missing all type exports. I think it has to be a change made within @nuxt/module-builder or @nuxt/kit but I wanted to report it here.
Types are not being rendered and exported from dist/types.d.ts, only default is exported
See the difference:
npm: v0.8.22
npm: v0.8.21
I noticed adding
"exports": {
".": {
"types": "./dist/module.d.ts",
"import": "./dist/module.mjs",
"require": "./dist/module.cjs"
}
}Especially the "types": "./dist/module.d.ts" part solves it but I don't know if this is the right thing to do.
Reference from: nuxt/ui/package.json
Steps to reproduce
Steps to reproduce the behavior:
- Go to https://stackblitz.com/edit/nuxt-starter-hnnmurjf?file=app.vue
- Wait for install and type check commands to run
- See error
Expected behavior
Prior 0.8.22 type exports used to work and could use them through my nuxt app
Possibly related