Skip to content

Commit

Permalink
Remove setup-compiler-macros environments (#2652)
Browse files Browse the repository at this point in the history
  • Loading branch information
waynzh authored and FloEdelmann committed Dec 19, 2024
1 parent 7631d79 commit 9da696b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 37 deletions.
13 changes: 0 additions & 13 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,6 @@ declare const vue: {
'.vue': any
vue: any
}
environments: {
/**
* @deprecated
*/
'setup-compiler-macros': {
globals: {
defineProps: 'readonly'
defineEmits: 'readonly'
defineExpose: 'readonly'
withDefaults: 'readonly'
}
}
}
}

export = vue
12 changes: 0 additions & 12 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,18 +280,6 @@ const plugin = {
processors: {
'.vue': require('./processor'),
vue: require('./processor')
},
environments: {
// TODO Remove in the next major version
/** @deprecated */
'setup-compiler-macros': {
globals: {
defineProps: 'readonly',
defineEmits: 'readonly',
defineExpose: 'readonly',
withDefaults: 'readonly'
}
}
}
}

Expand Down
12 changes: 0 additions & 12 deletions tools/update-lib-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,6 @@ const plugin = {
processors: {
'.vue': require('./processor'),
'vue': require('./processor')
},
environments: {
// TODO Remove in the next major version
/** @deprecated */
'setup-compiler-macros': {
globals: {
defineProps: 'readonly',
defineEmits: 'readonly',
defineExpose: 'readonly',
withDefaults: 'readonly'
}
}
}
}
Expand Down

0 comments on commit 9da696b

Please sign in to comment.