10000 chore: replace `rollup-plugin-esbuild` with `unplugin-oxc` · unplugin/unplugin-vue@fc6074e · GitHub
[go: up one dir, main page]

Skip to content

Commit fc6074e

Browse files
committed
chore: replace rollup-plugin-esbuild with unplugin-oxc
1 parent 798c5fe commit fc6074e

File tree

6 files changed

+389
-138
lines changed

6 files changed

+389
-138
lines changed

examples/rollup/build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { rollup } from 'rollup'
2-
import esbuild from 'rollup-plugin-esbuild'
2+
import Oxc from 'unplugin-oxc/rollup'
33
import Vue from 'unplugin-vue/rollup'
44

55
const bundle = await rollup({
66
input: ['./src/main.ts'],
77
external: ['vue'],
8-
plugins: [Vue(), esbuild({ format: 'esm' })],
8+
plugins: [Vue(), Oxc()],
99
})
1010
await bundle.write({
1111
dir: 'dist',

examples/rollup/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"devDependencies": {
1313
"esbuild": "^0.24.2",
1414
"rollup": "^4.34.4",
15-
"rollup-plugin-esbuild": "^6.2.0",
1615
"serve": "^14.2.4",
1716
"unplugin-vue": "workspace:*"
1817
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@
8484
"fast-glob": "^3.3.3",
8585
"rimraf": "^6.0.1",
8686
"rollup": "^4.34.4",
87-
"rollup-plugin-esbuild": "^6.2.0",
8887
"slash": "^5.1.0",
8988
"source-map-js": "^1.2.1",
9089
"tsdown": "^0.5.7",
9190
"typescript": "^5.7.3",
91+
"unplugin-oxc": "https://pkg.pr.new/unplugin/unplugin-oxc@61c8ffd",
9292
"vitest": "^3.0.5",
9393
"webpack": "^5.97.1"
9494
},

0 commit comments

Comments
 (0)
0