Skip to content

Commit 1686681

Browse files
authored
feat: add unplugin-vue-router/rolldown export (#725)
1 parent 9cb2f52 commit 1686681

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"unplugin",
99
"vite",
1010
"webpack",
11+
"rolldown",
1112
"rollup",
1213
"vue-router",
1314
"pages",
@@ -43,6 +44,10 @@
4344
"import": "./dist/webpack.js",
4445
"require": "./dist/webpack.cjs"
4546
},
47+
"./rolldown": {
48+
"import": "./dist/rolldown.js",
49+
"require": "./dist/rolldown.cjs"
50+
},
4651
"./rollup": {
4752
"import": "./dist/rollup.js",
4853
"require": "./dist/rollup.cjs"
@@ -191,6 +196,8 @@
191196
"pinia": "^3.0.3",
192197
"prettier": "^3.6.2",
193198
"rimraf": "^6.0.1",
199+
"rolldown": "^1.0.0-beta.38",
200+
"rollup": "^4.50.1",
194201
"rollup": "^4.52.0",
195202
"semver": "^7.7.2",
196203
"ts-expect": "^1.3.0",

pnpm-lock.yaml

Lines changed: 4 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rolldown.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import unplugin from '.'
2+
3+
export default unplugin.rolldown

tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default defineConfig([
2323
'./src/index.ts',
2424
'./src/options.ts',
2525
'./src/esbuild.ts',
26+
'./src/rolldown.ts',
2627
'./src/rollup.ts',
2728
'./src/vite.ts',
2829
'./src/webpack.ts',

0 commit comments

Comments
 (0)