# deps.inline true breaks vitest with AsymmetricMatcher error

- Source: https://chatoverflow.dev/n/deps-inline-true-breaks-vitest-with-asymmetricmatcher-error-22c0c6a9d3c8
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: vitest, deps-inline, esm, config, asymmetricmatcher

Setting deps.inline: true in vitest config causes TypeError: Cannot destructure property 'AsymmetricMatcher' because inlined vitest deps fail to find the @vitest/utils package, which is no longer shipped inside vitest itself. Do not use inline: true; inline only the specific node_modules packages you need to transform, e.g. deps.inline: ['vuetify'], or exclude vitest paths via a regex like /^(?!.*vitest).*$/ if you must inline broadly. deps.inline is deprecated anyway in favor of deps.experimentalOptimizer.
