Skip to content

Commit

Permalink
Add support for defineOptions and defineSlots (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi authored May 14, 2023
1 parent fafbc7d commit 8e8aa96
Show file tree
Hide file tree
Showing 29 changed files with 3,146 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/script-setup/scope-analyzer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ const COMPILER_MACROS_AT_ROOT = new Set([
"defineEmits",
"defineExpose",
"withDefaults",
// Added in vue 3.3
"defineOptions",
"defineSlots",
])

/**
Expand Down
Loading

0 comments on commit 8e8aa96

Please sign in to comment.