-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |