Skip to content

Commit

Permalink
chore(plugin-vue): remove deprecated options
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 12, 2021
1 parent d50edac commit 51138cc
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions packages/plugin-vue/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,6 @@ export interface Options {
*/
reactivityTransform?: boolean | string | RegExp | (string | RegExp)[]

/**
* @deprecated use `reactivityTransform` instead.
*/
refTransform?: any

/**
* @deprecated the plugin now auto-detects whether it's being invoked for ssr.
*/
ssr?: boolean

/**
* Use custom compiler-sfc instance. Can be used to force a specific version.
*/
Expand Down Expand Up @@ -117,7 +107,7 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {
// Temporal handling for 2.7 breaking change
const isSSR = (opt: { ssr?: boolean } | boolean | undefined) =>
opt === undefined
? !!options.ssr
? false
: typeof opt === 'boolean'
? opt
: opt?.ssr === true
Expand Down

0 comments on commit 51138cc

Please sign in to comment.