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

Add option to disable global $sanity in v0.10.0 #321

Open
marekbrze opened this issue Feb 21, 2022 · 0 comments
Open

Add option to disable global $sanity in v0.10.0 #321

marekbrze opened this issue Feb 21, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@marekbrze
Copy link

marekbrze commented Feb 21, 2022

Right now Sanity module is added globally and it's a part of the main node_modules webpack chunk. It's more useful to be able to import it locally in components/pages. In the v1 it's the new default behaviour. It would be great to add it to the older v0.10.0 package that it's widely used in Nuxt 2 apps.

@marekbrze marekbrze added the enhancement New feature or request label Feb 21, 2022
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