Skip to content
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

export { ... } syntax doesn't work #31

Open
ChristopherChudzicki opened this issue Jan 4, 2025 · 1 comment
Open

export { ... } syntax doesn't work #31

ChristopherChudzicki opened this issue Jan 4, 2025 · 1 comment

Comments

@ChristopherChudzicki
Copy link

Thanks for this great plugin! It's exactly what I was looking for.

I struggled a bit with initially because exports from my data.compile.ts file were undefined.

const someData = longComputation()

export { someData } 

When I changed the above to export const someData = ... everything worked fine.

If this limitation is hard to remove, it would be great to document it.

Thanks again!

@egoist
Copy link
Owner

egoist commented Jan 4, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants