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

feat: ignore imports from config file #54

Open
heyMP opened this issue Aug 6, 2024 · 0 comments
Open

feat: ignore imports from config file #54

heyMP opened this issue Aug 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@heyMP
Copy link
Owner

heyMP commented Aug 6, 2024

When using exposed functions from the config file in your target .ts files, you get all of the typescript typings but the run process will fail. This is because the typescript compiler will bundle code from config.js that is only meant to run in the node context, not in a browser context.

We need to either ignore imports from the config file, or introduce an annotation that allows the user to ignore certain imports from begin compiled and run in the browser context.

@heyMP heyMP added the enhancement New feature or request label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant