tailwindcss/src
Robin Malfait e046a37dbc
Improve bundle size by replacing detective-typescript (#10825)
* replace `detective-typescript` with our own implementation

We are not parsing the code but just trying to pluck out the
dependencies used via `import` and `require`.

* drop `detective-typescript`

* return a `Set` instead of an `Array`

* resolve rebuilds, but log errors in case they occur

This won't be the prettiest if it happens, but at least we are not
swallowing errors which should make bugs be easier to discover.

See previous commit for an example... 😅

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2023-03-20 18:30:47 +01: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 Improve bundle size by replacing detective-typescript (#10825) 2023-03-20 18:30:47 +01: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 Enable ESM and TS based config files (#10785) 2023-03-15 17:04:18 -04:00
util Enable ESM and TS based config files (#10785) 2023-03-15 17:04:18 -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 line-clamp utilities from @tailwindcss/line-clamp to core (#10768) 2023-03-10 18:47:43 +01: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