20 lines
405 B
Plaintext
20 lines
405 B
Plaintext
let propertiesWithoutUnits
|
|
if (process.env.NODE_ENV !== 'production') {
|
|
propertiesWithoutUnits = [
|
|
'aspectRatio',
|
|
'elevation',
|
|
'flexGrow',
|
|
'flexShrink',
|
|
'opacity',
|
|
'shadowOpacity',
|
|
'zIndex',
|
|
]
|
|
}
|
|
|
|
const devPropertiesWithUnitsRegExp =
|
|
propertiesWithoutUnits != null
|
|
? new RegExp(propertiesWithoutUnits.join('|'))
|
|
: null
|
|
|
|
export default devPropertiesWithUnitsRegExp
|