File tree 1 file changed +7
-17
lines changed
1 file changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -10,25 +10,15 @@ const { toRegExp } = require('../utils/regexp')
10
10
const htmlElements = require ( '../utils/html-elements.json' )
11
11
const deprecatedHtmlElements = require ( '../utils/deprecated-html-elements.json' )
12
12
const svgElements = require ( '../utils/svg-elements.json' )
13
-
14
- const RESERVED_NAMES_IN_VUE = new Set (
15
- require ( '../utils/vue2-builtin-components' )
16
- )
17
- const RESERVED_NAMES_IN_VUE3 = new Set (
18
- require ( '../utils/vue3-builtin-components' )
19
- )
20
-
21
- const RESERVED_NAMES_IN_HTML = new Set ( htmlElements )
22
- const RESERVED_NAMES_IN_OTHERS = new Set ( [
23
- ...deprecatedHtmlElements ,
24
- ...svgElements
25
- ] )
13
+ const vue2builtinComponents = require ( '../utils/vue2-builtin-components' )
14
+ const vue3builtinComponents = require ( '../utils/vue3-builtin-components' )
26
15
27
16
const reservedNames = new Set ( [
28
- ...RESERVED_NAMES_IN_HTML ,
29
- ...RESERVED_NAMES_IN_VUE ,
30
- ...RESERVED_NAMES_IN_VUE3 ,
31
- ...RESERVED_NAMES_IN_OTHERS
17
+ ...htmlElements ,
18
+ ...deprecatedHtmlElements ,
19
+ ...svgElements ,
20
+ ...vue2builtinComponents ,
21
+ ...vue3builtinComponents
32
22
] )
33
23
34
24
module . exports = {
You can’t perform that action at this time.
0 commit comments