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

[Todo] Upgrade retro.config.js to support TypeScript #2

Open
zaydek opened this issue Mar 29, 2021 · 1 comment
Open

[Todo] Upgrade retro.config.js to support TypeScript #2

zaydek opened this issue Mar 29, 2021 · 1 comment

Comments

@zaydek
Copy link
Owner

zaydek commented Mar 29, 2021

Then we can support rich typing for configurations. (Alternatively there is JS Docs, which Svelte / Vite has used in the past)

@zaydek
Copy link
Owner Author

zaydek commented Apr 9, 2021

This is a little tricky because we actually call require on retro.config.js and therefore we need to transpile it on the fly. We could use transormSync but then we have to load it into memory via new Function or some trick like that. JSDoc-tyle comments may make sense here.

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

1 participant