Skip to content

Rollup error when running prepack when a composable doesn't explicitly set the return type

Notifications You must be signed in to change notification settings

trc-mathieu/nuxt-prepack-error

Repository files navigation

To replicate issue

pnpm i
pnpm prepack

You will get this error:

error TS2742: The inferred type of 'default' cannot be named without a reference to '.pnpm/ofetch@1.1.1/node_modules/ofetch/dist/error-d5becc6e'. This is likely not portable. A type annotation is necessary.

About

Rollup error when running prepack when a composable doesn't explicitly set the return type

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published