Skip to content

Commit

Permalink
Add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Jan 1, 2020
1 parent 4a9439b commit 989b72c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .changeset/polite-impalas-doubt.md
@@ -0,0 +1,12 @@
---
'babel-plugin-emotion': major
'@emotion/babel-preset-css-prop': major
---

`autoLabel` option no longer is a simple boolean. Instead we accept now 3 values: `dev-only` (the default), `always` and `never`.

Each possible value for this option produces different output code:

- with `dev-only` we optimize the production code, so there are no labels added there, but at the same time we keep labels for development environments,
- with `always` we always add labels when possible,
- with `never` we disable this entirely and no labels are added.

0 comments on commit 989b72c

Please sign in to comment.