title: Error: @vitejs/plugin-vue requires vue (>=3.2.13) or @vue/compiler-sfc to be present in the dependency tree
body: <p>I'm working with the berry version of yarn with modules federation and vue3.<br />
  When I run these commands to create the base of the project:</p>
  <pre><code>mkdir vue-error
  yarn set version stable
  yarn plugin import workspace-tools
  yarn init -pw
  cd packages
  npx create-mf-app # body
  yarn
  yarn workspace body add single-spa-vue
  cd body
  yarn start
  </code></pre>
  <p>I get the following error:</p>
  <pre><code>[webpack-cli] Failed to load '/Users/test/Development/trash/vue-error/packages/body/webpack.config.js' config
  [webpack-cli] Error: @vitejs/plugin-vue requires vue (&gt;=3.2.13) or @vue/compiler-sfc to be present in the dependency tree.
      at Object.&lt;anonymous&gt; (/Users/jcuzmar/Development/trash/vue-error/.yarn/__virtual__/vue-loader-virtual-8ff7836f4c/0/cache/vue-loader-npm-16.8.3-e05f7daca3-7c0566847b.zip/node_modules/vue-loader/dist/compiler.js:14:15)
      at Module._compile (node:internal/modules/cjs/loader:1101:14)
      at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
      at Module.load (node:internal/modules/cjs/loader:981:32)
      at Function.external_module_.Module._load (/Users/jcuzmar/Development/trash/vue-error/.pnp.cjs:17959:14)
      at Module.require (node:internal/modules/cjs/loader:1005:19)
      at require (node:internal/modules/cjs/helpers:102:18)
      at Object.&lt;anonymous&gt; (/Users/jcuzmar/Development/trash/vue-error/.yarn/__virtual__/vue-loader-virtual-8ff7836f4c/0/cache/vue-loader-npm-16.8.3-e05f7daca3-7c0566847b.zip/node_modules/vue-loader/dist/index.js:8:20)
      at Module._compile (node:internal/modules/cjs/loader:1101:14)
      at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
  </code></pre>
  <p>I tried adding:</p>
  <pre><code>packageExtensions:
    &quot;@vitejs/plugin-vue@*&quot;:
      peerDependencies:
        'vue': '*'
        '@vue/compiler-sfc': '*'
        webpack: '*'
  </code></pre>
  <p>without success.</p>