Skip to content

Commit 87bad9b

Browse files
committed
chore(plugin-vue): remove deprecated options
1 parent 943f4ab commit 87bad9b

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

packages/plugin-vue/src/index.ts

+1-11
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,6 @@ export interface Options {
5757
*/
5858
reactivityTransform?: boolean | string | RegExp | (string | RegExp)[]
5959

60-
/**
61-
* @deprecated use `reactivityTransform` instead.
62-
*/
63-
refTransform?: any
64-
65-
/**
66-
* @deprecated the plugin now auto-detects whether it's being invoked for ssr.
67-
*/
68-
ssr?: boolean
69-
7060
/**
7161
* Use custom compiler-sfc instance. Can be used to force a specific version.
7262
*/
@@ -117,7 +107,7 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {
117107
// Temporal handling for 2.7 breaking change
118108
const isSSR = (opt: { ssr?: boolean } | boolean | undefined) =>
119109
opt === undefined
120-
? !!options.ssr
110+
? false
121111
: typeof opt === 'boolean'
122112
? opt
123113
: opt?.ssr === true

0 commit comments

Comments
 (0)