Skip to content

Commit 5771dbb

Browse files
fix(bundler-vite): add vuepress to client packages list (#1473)
Co-authored-by: meteorlxy <meteor.lxy@foxmail.com>
1 parent 76dd90c commit 5771dbb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/bundler-vite/src/plugins/vuepressMainPlugin.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ import 'vuepress/client-app'
4343
// which should not be optimized in dev mode, and should not be
4444
// externalized in build ssr mode
4545
const clientPackages = [
46+
// although discouraged, but users may still use `@vuepress/client` directly
4647
'@vuepress/client',
48+
'vuepress',
4749
...app.pluginApi.plugins
4850
// the 'user-config' plugin is created by cli internally
4951
.filter(({ name }) => name !== 'user-config')

0 commit comments

Comments
 (0)