Skip to content

Commit 387af1d

Browse files
committed
refactor(common)!: drop deprecated getTransformResult
1 parent b6bb4c0 commit 387af1d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/common/src/unplugin.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { generateTransform, type CodeTransform } from 'magic-string-ast'
21
import {
32
createFilter as createRollupFilter,
43
type FilterPattern,
@@ -11,12 +10,10 @@ import {
1110
REGEX_VUE_SUB_SETUP,
1211
} from './constants'
1312
import type { ResolvedOptions } from '@vitejs/plugin-vue'
13+
import type { CodeTransform } from 'magic-string-ast'
1414
import type { Plugin } from 'rollup'
1515
import type { HmrContext, Plugin as VitePlugin } from 'vite'
1616

17-
/** @deprecated use `generateTransform` instead */
18-
export const getTransformResult: typeof generateTransform = generateTransform
19-
2017
export interface FilterOptions {
2118
include?: FilterPattern
2219
exclude?: FilterPattern

0 commit comments

Comments
 (0)