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

Update 08_installing.md #181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

leevigraham
Copy link

Add alternative side-affects only import.

When installing Turbo with a tree-shaking bundler eg Vite / Rollup the import will be removed if not referenced in the file.

Additionally ESLint throws an error:

image

Alternative ways around this are to:

Export Turbo at the end of the import eg export {Turbo }

Add alternative side-affects only import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant