Skip to content

Commit de30ec7

Browse files
waynzhFloEdelmann
authored andcommitted
Remove setup-compiler-macros environments (#2652)
1 parent 49bf794 commit de30ec7

File tree

3 files changed

+0
-37
lines changed

3 files changed

+0
-37
lines changed

lib/index.d.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,6 @@ declare const vue: {
3030
'.vue': any
3131
vue: any
3232
}
33-
environments: {
34-
/**
35-
* @deprecated
36-
*/
37-
'setup-compiler-macros': {
38-
globals: {
39-
defineProps: 'readonly'
40-
defineEmits: 'readonly'
41-
defineExpose: 'readonly'
42-
withDefaults: 'readonly'
43-
}
44-
}
45-
}
4633
}
4734

4835
export = vue

lib/index.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -280,18 +280,6 @@ const plugin = {
280280
processors: {
281281
'.vue': require('./processor'),
282282
vue: require('./processor')
283-
},
284-
environments: {
285-
// TODO Remove in the next major version
286-
/** @deprecated */
287-
'setup-compiler-macros': {
288-
globals: {
289-
defineProps: 'readonly',
290-
defineEmits: 'readonly',
291-
defineExpose: 'readonly',
292-
withDefaults: 'readonly'
293-
}
294-
}
295283
}
296284
}
297285

tools/update-lib-index.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,6 @@ const plugin = {
5959
processors: {
6060
'.vue': require('./processor'),
6161
'vue': require('./processor')
62-
},
63-
environments: {
64-
// TODO Remove in the next major version
65-
/** @deprecated */
66-
'setup-compiler-macros': {
67-
globals: {
68-
defineProps: 'readonly',
69-
defineEmits: 'readonly',
70-
defineExpose: 'readonly',
71-
withDefaults: 'readonly'
72-
}
73-
}
7462
}
7563
}
7664

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy