-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected token export declare #321
Comments
Please provide a reproduction 🙏🏼 |
sorry, I lost my env and cannot reproduce. I'll keep an eye on this. |
@Shana-AE Please reopen, I have reproduced it @pi0 https://github.com/wkeylin/unbuild-demo |
related #303 Line 196 in 3b5ec7e
If the dts plugin is moved before other plugins, it can run properly. But I'm not sure which plugin specifically conflicts with dts (@rollup/plugin-node-resolve or @rollup/plugin-commonjs )
|
I'm having the same issue. |
I'm having the same issue. |
Is there any workaround at this point? I can repro by adding import * as debug from "debug"
const a = debug.debug("horst");
export { a } The offending line in |
Environment
ubuild v2.0.0
node 18
typescript 5.2.2
vue3.3.4
Reproduction
build a project that import vue3.3.4 types
Describe the bug
when I build, I got
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: