Skip to content

Commit

Permalink
Vite: Fix build.sourcemap config support
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish committed Mar 3, 2024
1 parent 8706618 commit d7b12d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/little-turtles-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@remix-run/dev": patch
---

Vite: Fix support for `build.sourcemap` option in Vite config
4 changes: 2 additions & 2 deletions packages/remix-dev/vite/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ export async function build(
logLevel,
minify,
mode,
sourcemapClient = false,
sourcemapServer = false,
sourcemapClient,
sourcemapServer,
}: ViteBuildOptions
) {
// Ensure Vite's ESM build is preloaded at the start of the process
Expand Down

0 comments on commit d7b12d3

Please sign in to comment.