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
Moreover, it seems that there's currently no way to bundle @types/*. I've already tried rollup.inlineDependencies true, and the .d.ts results are the same as the error content example above.
Additional context
Additional information is that if aws-lambda is explicitly added to the externals, the result is normal.
But adding this shouldn't be mandatory (I'm not sure 🤔), at least it shouldn't affect the correctness of the output.
Logs
The text was updated successfully, but these errors were encountered:
Also install the aws-lambda itself in the dependencies can correct the output.
But this should be unnecessary because I didn't use the aws-lambda package.
Installing it into dependencies will automatically add it to externals, which is the same as manually needing to add it to externals for it to work, as mentioned above.
Environment
Node: v22.13.1
Unbuild: 3.3.1(latest)
Reproduction
https://stackblitz.com/edit/vitejs-vite-wtwf2cpw?file=src%2Findex.ts,build.config.ts&terminal=build
Describe the bug
Context: #471 (comment)
The current output of
.d.ts
is:and it should be:
This might be related to changes #471 and #488.
Moreover, it seems that there's currently no way to bundle
@types/*
. I've already triedrollup.inlineDependencies true
, and the.d.ts
results are the same as the error content example above.Additional context
Additional information is that if
aws-lambda
is explicitly added to theexternals
, the result is normal.But adding this shouldn't be mandatory (I'm not sure 🤔), at least it shouldn't affect the correctness of the output.
Logs
The text was updated successfully, but these errors were encountered: