tailwindcss/integrations
Philipp Spiess 89f0047c0d
CLI: Use the right base when loading files from stdin (#14522)
Fixes #14521

When using the CLI to read files from `stdin` like this:

```bash
npx tailwindcss  --input=- -o bar.css < foo.css
```

We need to set the `base` path to be the current working directory
(`process.cwd()`). However, `cwd()` already _is_ a directory and calling
`dirname()` on it did go to the parent directory _which might not have
the `tailwindcss` dependency installed.
2024-09-26 12:32:46 +02:00
..
cli CLI: Use the right base when loading files from stdin (#14522) 2024-09-26 12:32:46 +02:00
postcss Resolve @import in core (#14446) 2024-09-23 17:05:55 +02:00
upgrade Add setup for template migrations (#14502) 2024-09-25 16:20:14 +02:00
vite Don't assert on mangled CSS names (#14397) 2024-09-11 17:37:36 +02:00
package.json Add integration test setup and tests for the Vite integration (#14089) 2024-08-02 11:50:49 +02:00
utils.ts ci: speedup windows integrations tests (#14485) 2024-09-20 15:59:18 -04:00