tailwindcss/src
Robin Malfait 64cf0b8e8a
Remove false positive warning in CLI when using the --content option (#7220)
* ensure content files are available in config

If you use the cli with the `--content` option, then we first resolve
the config (empty), then add the `content` to the config. The issue is
that this means that the content will be empty when you resolve it
initially. This results in a warning in your terminal.

Now, we will make sure to merge 2 configs if you have the `--content`
data passed. We will also make sure to override the final
`config.content.files` to whatever you passed in to make sure that this
is the same behaviour as before.

* update changelog
2022-01-26 19:31:50 +01:00
..
css Change how we handle defaults (optimized or not) (#6926) 2022-01-07 11:39:45 -05:00
lib Improve various warnings (#7118) 2022-01-19 15:09:13 -05:00
postcss-plugins/nesting Ensure to transpile the PostCSS Nesting plugin (tailwindcss/nesting) (#7080) 2022-01-15 16:07:20 +01:00
public Improve warnings (#5666) 2021-10-01 11:47:02 -04:00
util Improve various warnings (#7118) 2022-01-19 15:09:13 -05:00
cli-peer-dependencies.js Improve new JIT-compatible CLI (#4558) 2021-06-04 10:28:09 -04:00
cli.js Remove false positive warning in CLI when using the --content option (#7220) 2022-01-26 19:31:50 +01:00
constants.js Adds support for tailwind.config.cjs files (#3181) 2021-05-07 13:56:10 -04:00
corePlugins.js Improve various warnings (#7118) 2022-01-19 15:09:13 -05:00
featureFlags.js Change how we handle defaults (optimized or not) (#6926) 2022-01-07 11:39:45 -05:00
index.js Remove the watching context (#6858) 2022-01-03 17:45:31 +01:00
processTailwindFeatures.js Fix consecutive builds with at apply producing different CSS (#6999) 2022-01-10 12:36:14 -05:00