BREAKING CHANGES
Remove babel plugin entrypoint from @compiled/react
(#504)
The babel plugin entrypoint has been removed from the @compiled/react
package, along with the package dependency. This means how you install and consume Compiled has slightly changed now.
-npm i @compiled/react
+npm i @compiled/react @compiled/babel-plugin
{
- "plugins": ["@compiled/react/babel-plugin"]
+ "plugins": ["@compiled/babel-plugin"]
}
Bug fixes
- The
@compiled/react
packageentrypoints
field in its package json now point to both the commonjs and esm exports, thanks @adevnadia! (#502) - CSS prop has
boolean
added to its array type declaration to properly support conditional CSS rules, thanks @sonatard! (#491) - The
@compiled/cli
package now correctly finds codemods again (#498)
Chores
- Import tests for nodejs have been added to ensure things work across different versions (#503)