tailwindcss/src
Robin Malfait ea6f14a499
Dedupe duplicate properties (#5830)
* add `collapseDuplicateDeclarations`

This will allow us to remove duplicate declarations. This occurs when
you are using `@apply` for example.

The reason I implemented it as a separate step, is because this doesn't
only happen for `@apply`, but it also happens if you do something like:

```js
addComponents({ '.btn-blue, .btm-red': { padding: '10px' } })
```

So instead of tracking down every place this is happening, it now
happens at the very end.

* use new plugin in processTailwindFeatures

* add/update tests by removing duplicate declarations

* update changelog
2021-10-21 11:54:23 +02:00
..
css Improve before and after variants (#5820) 2021-10-18 18:11:34 +02:00
lib Dedupe duplicate properties (#5830) 2021-10-21 11:54:23 +02:00
public Improve warnings (#5666) 2021-10-01 11:47:02 -04:00
util Remove prefix as a function (#5829) 2021-10-19 15:22:49 +02:00
cli-peer-dependencies.js Improve new JIT-compatible CLI (#4558) 2021-06-04 10:28:09 -04:00
cli.js Fix CLI --content option (#5775) 2021-10-13 19:58:15 +01:00
constants.js Adds support for tailwind.config.cjs files (#3181) 2021-05-07 13:56:10 -04:00
corePlugins.js Improve before and after variants (#5820) 2021-10-18 18:11:34 +02:00
featureFlags.js Enable optimize universal defaults by default (#5635) 2021-10-06 17:45:26 +02: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