Skip to content

Commit

Permalink
Have vite generate source map in separate file (#7369)
Browse files Browse the repository at this point in the history
  • Loading branch information
stwlam committed Apr 11, 2023
1 parent 6a365ab commit 021ba22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const config = Vite.defineConfig(({ command, mode }): Vite.UserConfig => {
outDir,
emptyOutDir: true,
minify: false,
sourcemap: buildMode === "development" ? "inline" : false,
sourcemap: buildMode === "development",
lib: {
name: "pf2e",
entry: "src/pf2e.ts",
Expand Down

0 comments on commit 021ba22

Please sign in to comment.