tailwindcss/integrations/vite
Robin Malfait 92007a5b23
Fix crash when using @source containing .. (#14831)
This PR fixes an issue where a `@source` crashes when the path
eventually resolves to a path ending in `..`.

We have to make sure that we canonicalize the path to make sure that we
are working with the real directory.

---------

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2024-10-30 16:24:48 -04:00
..
astro.test.ts Revert "Fix Astro integration test by pinning zod-to-json-schema" (#14792) 2024-10-25 11:31:34 +02:00
config.test.ts Integration tests: Move all file writes into retry block (#14350) 2024-09-06 10:48:49 +02:00
css-modules.test.ts Don't assert on mangled CSS names (#14397) 2024-09-11 17:37:36 +02:00
index.test.ts Fix crash when using @source containing .. (#14831) 2024-10-30 16:24:48 -04:00
multi-root.test.ts Add integration tests for multi-root builds (#14564) 2024-10-01 17:00:20 +02:00
nuxt.test.ts Integration tests: Move all file writes into retry block (#14350) 2024-09-06 10:48:49 +02:00
vue.test.ts Vite: Support Tailwind in Vue <style> blocks (#14158) 2024-08-09 12:41:58 +02:00