tailwindcss/src
Jordan Pittman 474178055e Fix @tailwindcss/line-clamp warning (#10919)
* WIP

* Move warning to validateConfig

This only happens in setupTrackingContext outside of resolveConfig

* Use original dynamic require approach in `validateConfig`

The important thing is that this happens in Node-land only. It is outside of `resolveConfig` which is public and importable into user projects. That is the scenario that breaks because of static import hoisting.

* Don’t reference process when it might be undefined

The `resolveConfig` dep path is public which should not reference process. However, we have some behavior that changes based on env vars so we need to conditionalize it instead.

* Update changelog

* Formatting

* More formatting

* Update changelog

---------

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
2023-03-30 15:06:45 -04:00
..
cli Improve bundle size by replacing detective-typescript (#10825) 2023-03-20 18:30:47 +01:00
css Revert "Prepare for the v3.2.6" 2023-02-08 17:39:43 +01:00
lib Fix @tailwindcss/line-clamp warning (#10919) 2023-03-30 15:06:45 -04:00
oxide Enable ESM and TS based config files (#10785) 2023-03-15 17:04:18 -04:00
postcss-plugins/nesting Redirect to the up-to-date plugin url (#8081) 2022-04-11 13:06:10 -04:00
public Extend default color palette with new 950 shades (#10879) 2023-03-27 14:47:13 -04:00
util Fix @tailwindcss/line-clamp warning (#10919) 2023-03-30 15:06:45 -04:00
cli-peer-dependencies.js Add postcss-import support to the CLI (#8437) 2022-05-25 14:28:52 -04:00
cli.js Oxide (#10252) 2023-01-13 12:22:00 +01:00
corePlugins.js Add gradient color stop position utilities (#10886) 2023-03-28 15:39:00 +02:00
featureFlags.js Enable relative content paths for the oxide engine (#10621) 2023-02-17 21:42:10 +01:00
index.js Oxide (#10252) 2023-01-13 12:22:00 +01:00
plugin.js Use Lightning CSS in the PostCSS Plugin (#10399) 2023-01-23 20:44:31 +01:00
processTailwindFeatures.js Fix @apply order regression (in addComponents, addUtilities, ...) (#7232) 2022-01-27 13:16:44 +01:00