Skip to content

Commit 3173bdc

Browse files
authored
chore: use rolldown (#371)
* chore: use `rolldown` * update `rolldown` * remove unused `rollup` deps * fix types * fix wording * changeset * fix merge conflig
1 parent 96c0c42 commit 3173bdc

File tree

6 files changed

+182
-234
lines changed

6 files changed

+182
-234
lines changed

.changeset/pretty-laws-laugh.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'sv': patch
3+
---
4+
5+
chore: use `rolldown` instead of `rollup`

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default [
3131
'**/.test-output/*',
3232
'**/dist/*',
3333
'packages/**/tests/**/{output,input}.ts',
34-
'rollup.config.js',
34+
'rolldown.config.js',
3535
'community-addon-template/tests/*'
3636
]
3737
}

package.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"pnpm": "^9.0.0"
99
},
1010
"scripts": {
11-
"build": "rollup -c",
11+
"build": "rolldown --config",
1212
"changeset:publish": "changeset publish",
1313
"check": "pnpm --parallel check",
14-
"dev": "rollup --config --watch",
14+
"dev": "rolldown --watch --config",
1515
"format": "pnpm --parallel format",
1616
"lint": "pnpm --parallel lint && eslint --cache --cache-location node_modules/.eslintcache",
1717
"test": "vitest run --silent",
@@ -21,10 +21,6 @@
2121
"devDependencies": {
2222
"@changesets/cli": "^2.27.10",
2323
"@playwright/test": "^1.49.1",
24-
"@rollup/plugin-commonjs": "^28.0.2",
25-
"@rollup/plugin-dynamic-import-vars": "^2.1.5",
26-
"@rollup/plugin-json": "^6.1.0",
27-
"@rollup/plugin-node-resolve": "^15.3.0",
2824
"@sveltejs/create": "workspace:*",
2925
"@sveltejs/eslint-config": "^8.1.0",
3026
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
@@ -35,9 +31,7 @@
3531
"prettier": "^3.4.2",
3632
"prettier-plugin-packagejson": "^2.5.6",
3733
"prettier-plugin-svelte": "^3.3.2",
38-
"rollup": "^4.28.1",
39-
"rollup-plugin-esbuild": "^6.1.1",
40-
"rollup-plugin-preserve-shebangs": "^0.2.0",
34+
"rolldown": "1.0.0-beta.1",
4135
"sv": "workspace:*",
4236
"svelte": "^5.12.0",
4337
"typescript": "^5.6.2",

0 commit comments

Comments
 (0)