Skip to content

[2.4.0-beta.1] Break nested module resolve #4014

@odex21

Description

@odex21

Describe the bug

@vueuse/router import a cjs version vue-router
image

Reproduction

https://github.com/odex21/vite-2.4.0-beta.1-repo

yarn
cd packages/main
yarn dev

check the link http://localhost:3000/#/?id=123

System Info

System:
    OS: Windows 10 10.0.19042
    CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics
    Memory: 2.16 GB / 13.87 GB
  Binaries:
    Node: 14.16.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - C:\Program Files\nodejs\yarn.CMD
    npm: 6.14.12 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1023.0), Chromium (91.0.864.59)
    Internet Explorer: 11.0.19041.1

Used Package Manager

yarn

Logs

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions