Skip to content

Commit

Permalink
chore: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 10, 2025
1 parent ac6c47d commit 2af5303
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/tools/plugin-redirect/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { rollupBundle } from '../../../scripts/rollup.js'

export default [
...rollupBundle('cli/index', {
external: ['cac'],
external: ['commander'],
}),
...rollupBundle('node/index', {
dtsExternal: ['@vuepress/helper/shared'],
Expand Down
2 changes: 1 addition & 1 deletion tools/vp-update/rollup.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { rollupBundle } from '../../scripts/rollup.js'

export default rollupBundle('index', {
external: [/^node:/, 'cac', 'semver'],
external: [/^node:/, 'commander', 'semver'],
dts: false,
})

0 comments on commit 2af5303

Please sign in to comment.