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

fix: optimise deps with nested config #160

Merged
merged 1 commit into from Mar 11, 2024
Merged

fix: optimise deps with nested config #160

merged 1 commit into from Mar 11, 2024

Conversation

danielroe
Copy link
Contributor

resolves nuxt/content#2381

Vite requires dependencies that are optimised to be installed, but none of these deps will be directly installed by users (or they have to add them, which is a negative user experience). So we can indicate to vite to resolve the dependency from within another dependency that is installed, in this case @nuxtjs/mdc...

If the user does not have @nuxtjs/mdc (e.g. because nuxt/content is installing it) then we will have to modify these dependencies upstream.... (see linked PR in nuxt/content)

@farnabaz farnabaz merged commit 420a502 into main Mar 11, 2024
2 checks passed
@danielroe danielroe deleted the fix/optimise-nested branch March 11, 2024 11:37
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

Successfully merging this pull request may close these issues.

Dependency warning in workspace+pnpm environment.
2 participants