Skip to content

Commit 9bcb7e7

Browse files
committed
chore: fix typing build
1 parent 56f959a commit 9bcb7e7

File tree

5 files changed

+174
-3
lines changed

5 files changed

+174
-3
lines changed

packages/plugin-vue/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"@jridgewell/trace-mapping": "^0.3.25",
4343
"debug": "^4.3.5",
4444
"rollup": "^4.18.0",
45+
"rolldown": "^0.12.2",
4546
"slash": "^5.1.0",
4647
"source-map-js": "^1.2.0",
4748
"vite": "/Users/likui/Github/rolldown-vite/packages/vite",

packages/plugin-vue/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import path from 'node:path'
22
import fs from 'node:fs'
33
import type { SFCBlock, SFCDescriptor } from 'vue/compiler-sfc'
4-
import type { PluginContext, TransformPluginContext } from 'rollup'
4+
import type { PluginContext, TransformPluginContext } from 'rolldown'
55
import type { RawSourceMap } from 'source-map-js'
66
import type { EncodedSourceMap as TraceEncodedSourceMap } from '@jridgewell/trace-mapping'
77
import { TraceMap, eachMapping } from '@jridgewell/trace-mapping'

packages/plugin-vue/src/style.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { SFCDescriptor } from 'vue/compiler-sfc'
2-
import type { ExistingRawSourceMap, TransformPluginContext } from 'rollup'
2+
import type { ExistingRawSourceMap, TransformPluginContext } from 'rolldown'
33
import type { RawSourceMap } from 'source-map-js'
44
import { formatPostcssSourceMap } from 'vite'
55
import type { ResolvedOptions } from '.'

packages/plugin-vue/src/template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type {
66
SFCTemplateCompileOptions,
77
SFCTemplateCompileResults,
88
} from 'vue/compiler-sfc'
9-
import type { PluginContext, TransformPluginContext } from 'rollup'
9+
import type { PluginContext, TransformPluginContext } from 'rolldown'
1010
import { getResolvedScript, resolveScript } from './script'
1111
import { createRollupError } from './utils/error'
1212
import type { ResolvedOptions } from '.'

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)