Skip to content

Feat: change rollup to rolldown #4434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
5fa0b8b
Merge branch 'main' of https://github.com/ArthurDarkstone/vueuse
Oct 14, 2024
32d56cd
Merge branch 'main' of https://github.com/ArthurDarkstone/vueuse
Nov 7, 2024
b7012cb
Merge branch 'main' of https://github.com/ArthurDarkstone/vueuse
Dec 26, 2024
714a5e8
Merge branch 'main' of https://github.com/ArthurDarkstone/vueuse
ArthurDarkstone May 22, 2025
ccd93cb
feat: change rollup to rolldown
ArthurDarkstone May 30, 2025
fccbf3a
feat: add rolldown configuration and update build scripts
ArthurDarkstone May 30, 2025
af1a1e6
fix: integrations' integrations build without d.ts
ArthurDarkstone May 30, 2025
3dfccd7
refactor: clean up rolldown configuration by removing unused imports …
ArthurDarkstone May 30, 2025
997dafe
fix: update build:rolldown script to use rolldown command
ArthurDarkstone Jun 3, 2025
ae7bea1
fix: update rolldown-plugin-dts version specifier to use caret
ArthurDarkstone Jun 3, 2025
680565f
fix: update docs:build script to use rolldown command and add rolldow…
ArthurDarkstone Jun 3, 2025
0503ea2
fix: update rolldown version specifier to ^1.0.0-beta.10 in pnpm-lock…
ArthurDarkstone Jun 3, 2025
d792d70
chore: update rolldown version
ArthurDarkstone Jun 9, 2025
ab7cfce
Merge branch 'main' of https://github.com/ArthurDarkstone/vueuse
ArthurDarkstone Jul 11, 2025
cf4e669
Merge branch 'main' into feat-rolldown
ArthurDarkstone Jul 18, 2025
fb2cfd8
Merge branch 'main' into feat-rolldown
ArthurDarkstone Jul 18, 2025
b75cd88
Merge branch 'feat-rolldown' of https://github.com/ArthurDarkstone/vu…
ArthurDarkstone Jul 18, 2025
41f06c4
Merge branch 'main' into feat-rolldown
ArthurDarkstone Jul 28, 2025
3c8df5b
Merge branch 'main' into feat-rolldown
OrbisK Jul 28, 2025
aeebbfb
Merge branch 'feat-rolldown' of https://github.com/ArthurDarkstone/vu…
ArthurDarkstone Jul 28, 2025
6272f67
chore: update dependencies and remove deprecated Babel packages
ArthurDarkstone Jul 28, 2025
211628a
Merge branch 'main' of https://github.com/ArthurDarkstone/vueuse
ArthurDarkstone Jul 28, 2025
15acea5
Merge branch 'main' into feat-rolldown
ArthurDarkstone Jul 28, 2025
d5bd0c4
Merge branch 'main' into feat-rolldown
OrbisK Jul 28, 2025
7f8aca0
Merge branch 'main' into feat-rolldown
ArthurDarkstone Aug 3, 2025
ab1d9cc
chore: pnpm dedupe
ArthurDarkstone Aug 3, 2025
f89ab14
Merge branch 'main' into feat-rolldown
ArthurDarkstone Aug 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"iframes",
"iife",
"Pausable",
"Rolldown",
"Unref",
"Unsubscribable",
"vitepress",
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"scripts": {
"up": "nlx taze && nr size",
"build": "nr update && nr build:packages",
"build:rolldown": "nr update && pnpm -r run build:rolldown",
"build:packages": "pnpm -r run build",
"build:redirects": "tsx scripts/redirects.ts",
"build:types": "vue-tsc --emitDeclarationOnly",
Expand Down Expand Up @@ -91,6 +92,8 @@
"postcss-nested": "catalog:dev",
"prettier": "catalog:dev",
"remove-markdown": "catalog:docs",
"rolldown": "catalog:dev",
"rolldown-plugin-dts": "catalog:dev",
"rolldown-vite": "catalog:dev",
"rollup": "catalog:dev",
"rollup-plugin-dts": "catalog:dev",
Expand Down Expand Up @@ -126,6 +129,7 @@
"@vueuse/rxjs": "workspace:*",
"@vueuse/shared": "workspace:*",
"eslint": "catalog:dev",
"rolldown": "catalog:dev",
"rollup": "catalog:dev",
"vite": "catalog:dev",
"vite-plugin-pwa": "catalog:docs",
Expand Down
1 change: 1 addition & 0 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
],
"scripts": {
"build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
"build:rolldown": "rolldown -c rolldown.config.ts",
"prepack": "pnpm run build",
"test:attw": "attw --pack --config-path ../../.attw.json ."
},
Expand Down
6 changes: 6 additions & 0 deletions packages/components/rolldown.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { packages } from '../../meta/packages'
import { createRolldownConfig } from '../../rolldown.config'

export default createRolldownConfig(
packages.find(pkg => pkg.name === 'components')!,
)
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
],
"scripts": {
"build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
"build:rolldown": "rolldown -c rolldown.config.ts",
"prepack": "pnpm run build",
"test:attw": "attw --pack --config-path ../../.attw.json ."
},
Expand Down
6 changes: 6 additions & 0 deletions packages/core/rolldown.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { packages } from '../../meta/packages'
import { createRolldownConfig } from '../../rolldown.config'

export default createRolldownConfig(
packages.find(pkg => pkg.name === 'core')!,
)
1 change: 1 addition & 0 deletions packages/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
],
"scripts": {
"build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
"build:rolldown": "rolldown -c rolldown.config.ts",
"prepack": "pnpm run build",
"test:attw": "attw --pack --config-path ../../.attw.json ."
},
Expand Down
6 changes: 6 additions & 0 deletions packages/electron/rolldown.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { packages } from '../../meta/packages'
import { createRolldownConfig } from '../../rolldown.config'

export default createRolldownConfig(
packages.find(pkg => pkg.name === 'electron')!,
)
1 change: 1 addition & 0 deletions packages/firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
],
"scripts": {
"build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
"build:rolldown": "rolldown -c rolldown.config.ts",
"prepack": "pnpm run build",
"test:attw": "attw --pack --config-path ../../.attw.json ."
},
Expand Down
6 changes: 6 additions & 0 deletions packages/firebase/rolldown.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { packages } from '../../meta/packages'
import { createRolldownConfig } from '../../rolldown.config'

export default createRolldownConfig(
packages.find(pkg => pkg.name === 'firebase')!,
)
1 change: 1 addition & 0 deletions packages/integrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
],
"scripts": {
"build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
"build:rolldown": "rolldown -c rolldown.config.ts",
"prepack": "pnpm run build",
"test:attw": "attw --pack --config-path ../../.attw.json ."
},
Expand Down
6 changes: 6 additions & 0 deletions packages/integrations/rolldown.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { packages } from '../../meta/packages'
import { createRolldownConfig } from '../../rolldown.config'

export default createRolldownConfig(
packages.find(pkg => pkg.name === 'integrations')!,
)
1 change: 1 addition & 0 deletions packages/math/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
],
"scripts": {
"build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
"build:rolldown": "rolldown -c rolldown.config.ts",
"prepack": "pnpm run build",
"test:attw": "attw --pack --config-path ../../.attw.json ."
},
Expand Down
6 changes: 6 additions & 0 deletions packages/math/rolldown.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { packages } from '../../meta/packages'
import { createRolldownConfig } from '../../rolldown.config'

export default createRolldownConfig(
packages.find(pkg => pkg.name === 'math')!,
)
1 change: 1 addition & 0 deletions packages/metadata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"scripts": {
"update": "tsx scripts/update.ts",
"build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
"build:rolldown": "rolldown -c rolldown.config.ts",
"prepack": "pnpm run build",
"test:attw": "attw --pack --config-path ../../.attw.json ."
}
Expand Down
6 changes: 6 additions & 0 deletions packages/metadata/rolldown.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { packages } from '../../meta/packages'
import { createRolldownConfig } from '../../rolldown.config'

export default createRolldownConfig(
packages.find(pkg => pkg.name === 'metadata')!,
)
1 change: 1 addition & 0 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
],
"scripts": {
"build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
"build:rolldown": "rolldown -c rolldown.config.ts",
"prepack": "pnpm run build",
"test:attw": "attw --pack --config-path ../../.attw.json ."
},
Expand Down
6 changes: 6 additions & 0 deletions packages/nuxt/rolldown.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { packages } from '../../meta/packages'
import { createRolldownConfig } from '../../rolldown.config'

export default createRolldownConfig(
packages.find(pkg => pkg.name === 'nuxt')!,
)
1 change: 1 addition & 0 deletions packages/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
],
"scripts": {
"build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
"build:rolldown": "rolldown -c rolldown.config.ts",
"prepack": "pnpm run build",
"test:attw": "attw --pack --config-path ../../.attw.json ."
},
Expand Down
6 changes: 6 additions & 0 deletions packages/router/rolldown.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { packages } from '../../meta/packages'
import { createRolldownConfig } from '../../rolldown.config'

export default createRolldownConfig(
packages.find(pkg => pkg.name === 'router')!,
)
1 change: 1 addition & 0 deletions packages/rxjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
],
"scripts": {
"build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
"build:rolldown": "rolldown -c rolldown.config.ts",
"prepack": "pnpm run build",
"test:attw": "attw --pack --config-path ../../.attw.json ."
},
Expand Down
6 changes: 6 additions & 0 deletions packages/rxjs/rolldown.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { packages } from '../../meta/packages'
import { createRolldownConfig } from '../../rolldown.config'

export default createRolldownConfig(
packages.find(pkg => pkg.name === 'rxjs')!,
)
1 change: 1 addition & 0 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
],
"scripts": {
"build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
"build:rolldown": "rolldown -c rolldown.config.ts",
"prepack": "pnpm run build",
"test:attw": "attw --pack --config-path ../../.attw.json ."
},
Expand Down
6 changes: 6 additions & 0 deletions packages/shared/rolldown.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { packages } from '../../meta/packages'
import { createRolldownConfig } from '../../rolldown.config'

export default createRolldownConfig(
packages.find(pkg => pkg.name === 'shared')!,
)
Loading