tailwindcss/src
Robin Malfait deb68d5816
Ensure all plugins are executed for a given candidate (#6540)
* remove early return so that all plugins are handled

We had an early return so that once a plugin was matched, that we could
stop running the code through the other plugins. However, in this case
we have an issue that user defined css is technically also a plugin.

This means that:
  - `bg-green-light`
Would check for:
  - `bg-green-light` (no hit, continue)
  - `bg-green` (Hit! Don't execute next plugins)
  - `bg` (This is the one that would have generated `bg-green-light`)

We tested this change and it doesn't seem to have an impact functionally
and also not really performance wise.

* update changelog
2021-12-15 18:07:26 +01:00
..
css revert reset of li 2021-12-15 13:03:00 +01:00
lib Ensure all plugins are executed for a given candidate (#6540) 2021-12-15 18:07:26 +01:00
public Improve warnings (#5666) 2021-10-01 11:47:02 -04:00
util Support square bracket notation in paths (#6519) 2021-12-15 11:09:29 -05:00
cli-peer-dependencies.js Improve new JIT-compatible CLI (#4558) 2021-06-04 10:28:09 -04:00
cli.js Fix debug mode being active although explicitly disabled (#5837) 2021-10-25 11:25:25 +02:00
constants.js Adds support for tailwind.config.cjs files (#3181) 2021-05-07 13:56:10 -04:00
corePlugins.js Move defaults to their own always-on layer (#6500) 2021-12-14 12:21:38 -05:00
featureFlags.js temporarily disable optimize universal defaults (#6461) 2021-12-13 15:39:18 +01:00
index.js Remove AOT (#5340) 2021-09-01 17:13:59 +02:00
processTailwindFeatures.js Dedupe duplicate properties (#5830) 2021-10-21 11:54:23 +02:00