You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I used pnpm to run build script, it gots src/index.ts(1,15): error TS2305: Module '"vue"' has no exported member 'Component'.
used npm and yarn are all building works, it seems the issue's reason of pnpm
debug long time…………
I found the issue is relationed with declaration: true config, if declaration value is false, it will build pass, but lost *.d.ts file
Hi
I used pnpm to run build script, it gots
src/index.ts(1,15): error TS2305: Module '"vue"' has no exported member 'Component'.
used npm and yarn are all building works, it seems the issue's reason of pnpm
debug long time…………
I found the issue is relationed with
declaration: true
config, if declaration value is false, it will build pass, but lost *.d.ts filecan you please help me to analyze it
Thank you.
here is a demo repo
index.ts
build.config.ts
tsconfig.json
Error info
The text was updated successfully, but these errors were encountered: