Skip to content

Commit d1a04ab

Browse files
committed
chore: fix typecheck
1 parent 228915a commit d1a04ab

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"esbuild": "^0.27.4",
8181
"eslint": "^10.0.3",
8282
"prettier": "^3.8.1",
83+
"rolldown": "1.0.0-rc.9",
8384
"rollup": "^4.59.0",
8485
"tsdown": "^0.21.2",
8586
"tsdown-preset-sxzz": "^0.4.2",

pnpm-lock.yaml

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

tests/vite.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import path from 'node:path'
22
import { build } from 'vite'
33
import { expect, test } from 'vitest'
44
import UnpluginInlineEnum from '../src/vite'
5-
import type { RollupOutput } from 'rollup'
5+
import type { RolldownOutput } from 'rolldown'
66

77
test('vite', async () => {
88
const root = path.resolve(__dirname, 'fixtures')
@@ -22,6 +22,6 @@ test('vite', async () => {
2222
scanMode: 'fs',
2323
}),
2424
],
25-
})) as RollupOutput
25+
})) as RolldownOutput
2626
expect(output[0].code).toMatchSnapshot()
2727
})

0 commit comments

Comments
 (0)