Skip to content

babel-plugin-emotion@11.0.0-next.3

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Nov 10:20
· 550 commits to main since this release

Major Changes

  • c5b12d90 #1220 Thanks @mitchellhamilton! - Removed support for the instances option, any usage of it should be replaced with the importMap option

  • f9feab1a #1575 Thanks @mitchellhamilton! - Removed support for @emotion/styled-base package. It has been moved to @emotion/styled and is available as @emotion/styled/base. This simplifies how the regular and base versions relate to each other and eliminates problems with stricter package managers when @emotion/styled-base was not installed explicitly by a user.

Minor Changes

  • c5b12d90 #1220 Thanks @mitchellhamilton! - Added the importMap option which allows you to tell babel-plugin-emotion what imports it should look at to determine what it should transform so if you re-export Emotion's exports, you can still use the Babel transforms

Patch Changes

  • c5b12d90 #1220 Thanks @mitchellhamilton! - Fix issue with not updating referenced import when bailing out on already transpiled vanilla emotion nodes (a regression introduced in #1602)
  • Updated dependencies [8a896a31, a085003d]:
    • @emotion/serialize@0.11.15-next.1