Skip to content

Commit 870cd86

Browse files
waynzhota-meshi
authored andcommitted
Remove setup-compiler-macros environments (#2652)
1 parent 854cae5 commit 870cd86

File tree

3 files changed

+0
-37
lines changed

3 files changed

+0
-37
lines changed

Diff for: lib/index.d.ts

-13
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

Diff for: lib/index.js

-12
Original file line numberDiff line numberDiff line change
@@ -282,18 +282,6 @@ const plugin = {
282282
processors: {
283283
'.vue': require('./processor'),
284284
vue: require('./processor')
285-
},
286-
environments: {
287-
// TODO Remove in the next major version
288-
/** @deprecated */
289-
'setup-compiler-macros': {
290-
globals: {
291-
defineProps: 'readonly',
292-
defineEmits: 'readonly',
293-
defineExpose: 'readonly',
294-
withDefaults: 'readonly'
295-
}
296-
}
297285
}
298286
}
299287

Diff for: tools/update-lib-index.js

-12
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)