Describe the bug
Install vuepress with pnpm
Link to the blitz that caused the error
https://stackblitz.com/edit/vuepress-theme-hope?file=package.json,docs%2F.vuepress%2Fconfig.ts
Steps to reproduce
See the editor:

Expected behavior
Working, everything is fine in a local editor.

Parity with Local
Screenshots

The vuepress package is a esm package, while the special thing is that it exports other esm package types directly:
And the defineUserConfig is something that @vuepress/cli exports.
Moreover, when I change the exports to vuepress/cli (which is a sub export that re-export @vuepress/cli),


Platform
- OS: [e.g. macOS, Windows, Linux]: Windows
- Browser: [e.g. Chrome, Safari, Firefox]: Chrome
- Version: [e.g. 91.1]: 125.0
Additional context
No response
Describe the bug
Install
vuepresswith pnpmLink to the blitz that caused the error
https://stackblitz.com/edit/vuepress-theme-hope?file=package.json,docs%2F.vuepress%2Fconfig.ts
Steps to reproduce
See the editor:
Expected behavior
Working, everything is fine in a local editor.
Parity with Local
Screenshots
The vuepress package is a esm package, while the special thing is that it exports other esm package types directly:
And the
defineUserConfigis something that@vuepress/cliexports.Moreover, when I change the exports to
vuepress/cli(which is a sub export that re-export@vuepress/cli),Platform
Additional context
No response