@@ -12,12 +12,12 @@ import { makeMap } from './makeMap'
12
12
* - readonly -> readOnly
13
13
*/
14
14
const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`
15
- export const isSpecialBooleanAttr = /*#__PURE__*/ makeMap ( specialBooleanAttrs )
15
+ export const isSpecialBooleanAttr = makeMap ( specialBooleanAttrs )
16
16
17
17
/**
18
18
* The full list is needed during SSR to produce the correct initial markup.
19
19
*/
20
- export const isBooleanAttr = /*#__PURE__*/ makeMap (
20
+ export const isBooleanAttr = makeMap (
21
21
specialBooleanAttrs +
22
22
`,async,autofocus,autoplay,controls,default,defer,disabled,hidden,` +
23
23
`inert,loop,open,required,reversed,scoped,seamless,` +
@@ -59,7 +59,7 @@ export const propsToAttrMap: Record<string, string | undefined> = {
59
59
* Don't also forget to allow `data-*` and `aria-*`!
60
60
* Generated from https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
61
61
*/
62
- export const isKnownHtmlAttr = /*#__PURE__*/ makeMap (
62
+ export const isKnownHtmlAttr = makeMap (
63
63
`accept,accept-charset,accesskey,action,align,allow,alt,async,` +
64
64
`autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,` +
65
65
`border,buffered,capture,challenge,charset,checked,cite,class,code,` +
@@ -80,7 +80,7 @@ export const isKnownHtmlAttr = /*#__PURE__*/ makeMap(
80
80
/**
81
81
* Generated from https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute
82
82
*/
83
- export const isKnownSvgAttr = /*#__PURE__*/ makeMap (
83
+ export const isKnownSvgAttr = makeMap (
84
84
`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,` +
85
85
`arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,` +
86
86
`baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,` +
0 commit comments