Skip to content

Commit

Permalink
fix: bad exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww committed Feb 15, 2025
1 parent e63668d commit 92e2e43
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nolebase/integrations",
"type": "module",
"version": "2.14.0-alpha3",
"version": "2.14.0-alpha4",
"description": "A unconfig (unified configurations) for both VitePress and VitePress theme. Supporting all Nólëbase Integrations with default theme.",
"author": {
"name": "Nólëbase",
Expand Down
11 changes: 11 additions & 0 deletions packages/integrations/src/vitepress/vite/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,18 @@ export function presetVite(options: PresetViteOptions): PresetVite {
// This needs to be excluded from optimization
exclude: [
'vitepress',
'@nolebase/ui',
'@nolebase/ui-asciinema',
'@nolebase/ui-rive-canvas',
'@nolebase/vitepress-plugin-index',
'@nolebase/vitepress-plugin-enhanced-mark',
'@nolebase/vitepress-plugin-enhanced-readabilities',
'@nolebase/vitepress-plugin-git-changelog',
'@nolebase/vitepress-plugin-highlight-targeted-heading',
'@nolebase/vitepress-plugin-index',
'@nolebase/vitepress-plugin-inline-link-preview',
'@nolebase/vitepress-plugin-page-properties',
'@nolebase/vitepress-plugin-thumbnail-hash',
],
},
ssr: {
Expand Down

0 comments on commit 92e2e43

Please sign in to comment.