preset-vite
preset-vite copied to clipboard
Add config to specify plugin-transform-react-jsx `throwIfNamespace`
It appears that specifying throwIfNamespace
in a .babelrc
file no longer causes it to apply to the @babel/plugin-transform-react-jsx
or @babel/plugin-transform-react-jsx-development
. Even if specifying babelrc: true
as a config option.
This is to allow stuff like unocss
attributify mode which supports attributes like disabled:bg-grey
on elements.
Currently the only documented use case is throwIfNamespace
.