Commit graph

4092 commits

Author SHA1 Message Date
Robin Malfait
bf248cb0de
only add the @defaults for jit mode 2021-09-08 17:40:31 +02:00
Robin Malfait
2122daff41
use clean-css again 2021-09-08 17:40:22 +02:00
Robin Malfait
454a189d2f
2.2.13 2021-09-08 15:31:23 +02:00
Robin Malfait
75cc3ca305
use cssnano instead of clean-css for the minified CDN build 2021-09-08 15:30:57 +02:00
Robin Malfait
f6b862c2a3
2.2.12 2021-09-08 11:51:07 +02:00
Robin Malfait
df1283a2bc
update changelog 2021-09-08 11:50:49 +02:00
Robin Malfait
2213fd8657
ensure that divide utilities inject a default border color 2021-09-08 11:36:22 +02:00
Robin Malfait
ae0d84f739 bump version to 2.2.11 2021-09-07 06:14:51 -04:00
Robin Malfait
b456d700d3 link to correct featureFlags file 2021-09-07 06:14:25 -04:00
Robin Malfait
d031e57f68 add is-color-stop dependency 2021-09-07 06:14:24 -04:00
Adam Wathan
7961556af9 2.2.10 2021-09-06 15:26:45 -04:00
Adam Wathan
08d163e9e4 Update import 2021-09-06 15:26:37 -04:00
Adam Wathan
02bb6ab677 Update changelog 2021-09-06 15:20:26 -04:00
Nick
8ceedb2dd6 fix: fix empty object error (#4903)
Co-authored-by: zhongcheng <zhongcheng@bytedance.com>
2021-09-06 15:08:22 -04:00
Adam Wathan
00dded1cce Reintroduce universal selector optimization behind experimental flag 2021-09-06 13:58:22 -04:00
Robin Malfait
267f20c47e
2.2.9 2021-08-30 13:01:08 +02:00
Robin Malfait
97804a8950
Pin clean css version (#5338)
* pin clean-css to version `5.1.4`

* update fixtures
2021-08-30 13:00:50 +02:00
depfu[bot]
442c6d0d27 Update cosmiconfig to version 7.0.1 2021-08-28 23:03:11 +00:00
depfu[bot]
9ccb280b6d Update autoprefixer to version 10.3.3 2021-08-28 18:47:53 +00:00
depfu[bot]
e316dcb184 Update eslint-plugin-prettier to version 3.4.1 2021-08-27 22:18:32 +00:00
Peter Etelej
65617085c1
Fix pathname parsing for tracked files (#5008)
The trackedModified call in the tracking logic has a bug that
incorrectly removes `null` from pathnames

Currently:
```
let pathname = parsed.href.replace(parsed.hash, '').replace(parsed.search, '')
```
Where if `parsed.hash` or `parsed.search` are missing (which is
mostly the case for FS files), the value is null
eg `{ hash: null, search: null}`
  - In which case, we essentially trim `null`
converting `/mypath/nulldir/file.js` -> `/mypath/dir/filejs` and
breaking builds (see #4920 ).

Fix checks if `hash` or `search` are set before replacing them

Fixes #4920
2021-08-27 16:12:06 +02:00
Robin Malfait
8218aa6251
Ensure integration tests are up to date (#5317)
* update (old) incorrect snapshots

The version changed, so it is save to update these.

* add `shadow` so that we can test `@tailwind base`

We were only using `font-bold`, but that doesn't require any base rules.
We try to only inject rules that are required, even for `base` related
rules.
Adding `shadow` will ensure that we can test that `base` rules have been
added.
2021-08-27 16:09:25 +02:00
Adam Wathan
476d445629
Fix missing !important when using @apply (#4854)
* Add failing test for #4823

* Fix important variant `@apply`

Co-authored-by: Brad Cornes <bradlc41@gmail.com>
2021-08-27 16:08:25 +02:00
Robin Malfait
96ef15039b
Ensure purge tests work even for version mismatches (#5316)
We applied the same treatment for the sanity tests, where we ignore the
first line (the tailwind header).

An odd issue I have found is that diffing of big css files is _very_
slow. When te tests pass, then the first test takes `3302 ms`, however,
when it fails it takes `477482 ms` on my machine. That's almost 8
minutes.
2021-08-27 15:47:39 +02:00
Robin Malfait
211f40b175
2.2.8 2021-08-27 10:37:43 +02:00
Robin Malfait
baa8f6528b
Ensure nested [] is allowed (#5304)
This will allow us to write something like:

`grid-cols-[[linename],1fr,auto]`
2021-08-26 13:50:39 +02:00
depfu[bot]
5f02fe4811 Update clean-css to version 5.1.5 2021-08-26 10:03:09 +00:00
Robin Malfait
fa3d454d06
Ensure arbitrary values only support valid values (#5293)
* ensure arbitrary values only support valid values

* ensure we validate balancing [], () and {}
2021-08-26 05:52:47 -04:00
depfu[bot]
048a29ef34 Update cssnano to version 5.0.8 2021-08-25 10:19:37 +00:00
depfu[bot]
ff71165538 Update arg to version 5.0.1 2021-08-24 02:31:30 +00:00
José Valim
b280378c33
Abort the watcher if stdin is closed to avoid zombie processes (#4997)
* Abort the watcher if stdin is closed to avoid zombie processes

* Apply suggestions from code review
2021-08-23 14:35:28 -04:00
depfu[bot]
4daa86a293 Update @vercel/ncc to version 0.29.2 2021-08-21 22:27:25 +00:00
depfu[bot]
d8b89003a9
Update @vercel/ncc to version 0.29.0 (#5068)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-08-20 22:43:40 -04:00
depfu[bot]
b54d3fc6dd
Update color to version 4.0.1 (#5205)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-08-20 22:43:08 -04:00
Brad Cornes
5d0abea336
Fix object-position arbitrary values (#5245) 2021-08-20 22:40:11 -04:00
Brad Cornes
b56b4c0b14
[JIT] Support animation lists (#5252)
* Support animation lists

* Update tests
2021-08-20 22:39:06 -04:00
Brad Cornes
ca1a167a83
Maintain PostCSS node sources (#5249) 2021-08-20 22:38:17 -04:00
depfu[bot]
d13b0e1085 Update node-emoji to version 1.11.0 2021-08-18 09:18:48 +00:00
Brad Cornes
e1160e38ac
Skip escaped commas when splitting selector (#5239) 2021-08-17 20:06:31 -04:00
depfu[bot]
0bb3e74f82 Update all of babel7 to version 7.15.0 2021-08-17 18:34:04 +00:00
Brad Cornes
4ff383fbbe
Fix malformed keyframes when using class variants (#5223) 2021-08-16 12:25:30 -04:00
depfu[bot]
ca6900dc35 Update eslint to version 7.32.0 2021-08-14 22:18:42 +00:00
Adam Wathan
00761ed73f Update changelog 2021-08-10 08:47:49 -04:00
depfu[bot]
4d758ed624 Update chalk to version 4.1.2 2021-08-06 12:33:00 +00:00
depfu[bot]
66b9259a5d Update clean-css to version 5.1.4 2021-08-05 10:03:02 +00:00
depfu[bot]
2eb7b4e5f1 Update postcss-nested to version 5.0.6 2021-08-04 10:49:11 +00:00
Adam Wathan
723e8d4377
Improve accessibility of default link focus styles in Firefox (#5082) 2021-07-31 07:10:17 -04:00
depfu[bot]
e233288c4d Update glob-parent to version 6.0.1 2021-07-31 10:55:33 +00:00
depfu[bot]
e369dbd8ed Update all of babel7 to version 7.14.8 2021-07-31 10:54:52 +00:00
depfu[bot]
370ea8b3f2 Update postcss to version 8.3.6 2021-07-31 10:54:44 +00:00