Skip to content

Commit

Permalink
tweak changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
pcattori committed Jan 29, 2024
1 parent 2f6773d commit 074f4ef
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .changeset/curly-camels-applaud.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,20 @@
"@remix-run/dev": patch
---

Vite: add `--sourcemap` flag
Vite: add `--sourcemap` flag to `remix vite:build`

- `--sourcemap` enables source maps for client and server
- `--sourcemap=client` enables source maps for client and server
- `--sourcemap=server` enables source maps for client and server

Also supports `inline` and `hidden` variants:

- `--sourcemap=inline`
- `--sourcemap=client-inline`
- `--sourcemap=server-inline`

- `--sourcemap=hidden`
- `--sourcemap=client-hidden`
- `--sourcemap=server-hidden`

See https://vitejs.dev/config/build-options.html#build-sourcemap

0 comments on commit 074f4ef

Please sign in to comment.