Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9da696b

Browse filesBrowse files
waynzhFloEdelmann
authored andcommitted
Remove setup-compiler-macros environments (#2652)
1 parent 7631d79 commit 9da696b
Copy full SHA for 9da696b

File tree

3 files changed

+0
-37
lines changed
Filter options

3 files changed

+0
-37
lines changed

‎lib/index.d.ts

Copy file name to clipboardExpand all lines: lib/index.d.ts
-13Lines 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

Copy file name to clipboardExpand all lines: lib/index.js
-12Lines 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

Copy file name to clipboardExpand all lines: tools/update-lib-index.js
-12Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.