tailwindcss/packages
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
..
@tailwindcss-cli CLI: Use the right base when loading files from stdin (#14522) 2024-09-26 12:32:46 +02:00
@tailwindcss-node Add setup for template migrations (#14502) 2024-09-25 16:20:14 +02:00
@tailwindcss-postcss Release v4.0.0-alpha.25 (#14507) 2024-09-24 17:03:00 +00:00
@tailwindcss-standalone Release v4.0.0-alpha.25 (#14507) 2024-09-24 17:03:00 +00:00
@tailwindcss-upgrade CSS codemod: ensure we don't lose selectors (#14518) 2024-09-25 18:39:00 +02:00
@tailwindcss-vite Release v4.0.0-alpha.25 (#14507) 2024-09-24 17:03:00 +00:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Add setup for template migrations (#14502) 2024-09-25 16:20:14 +02:00
tsconfig.base.json introduce v4 codebase 2024-03-05 14:29:15 +01:00