Skip to content

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)

@danielroe danielroe requested a review from farnabaz March 11, 2024 00:13
@danielroe danielroe self-assigned this Mar 11, 2024
@farnabaz farnabaz merged commit 420a502 into main Mar 11, 2024
@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.

3 participants