Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix source map generation during when watching files on the CLI
  • Loading branch information
thecrypticace committed Nov 25, 2025
commit 35e80cba9cb56368631e1b6890efffe084f9010c
4 changes: 2 additions & 2 deletions packages/@tailwindcss-cli/src/commands/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export async function handle(args: Result<ReturnType<typeof options>>) {

if (args['--map']) {
DEBUG && I.start('Build Source Map')
compiledMap = compiler.buildSourceMap() as any
compiledMap = toSourceMap(compiler.buildSourceMap())
DEBUG && I.end('Build Source Map')
}
}
Expand All @@ -346,7 +346,7 @@ export async function handle(args: Result<ReturnType<typeof options>>) {

if (args['--map']) {
DEBUG && I.start('Build Source Map')
compiledMap = compiler.buildSourceMap() as any
compiledMap = toSourceMap(compiler.buildSourceMap())
DEBUG && I.end('Build Source Map')
}
}
Expand Down