Commit 0e8f075
authored
Fix source map generation during when watching files on the CLI (#19373)
Fixes #19362
We were overwriting the source map with the "decoded" map returned by
the compiler but didn't wrap it in the helper intended to help inline vs
file maps. This resulted in two issues:
1. `undefined` being appended to the CSS file when using `--map`
2. `undefined` being passed to `writeFile(…)` when using `--map <file>`
This PR fixes both.1 parent 28670a9 commit 0e8f075
File tree
3 files changed
+479
-3
lines changed- integrations/cli
- packages/@tailwindcss-cli/src/commands/build
3 files changed
+479
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments