Skip to content

Commit 1b3d0ce

Browse files
committed
fix: generate separate source-map for production
1 parent 2f3c639 commit 1b3d0ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.lib.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import fs from "fs/promises";
88

99
const pkg = JSON.parse(await fs.readFile("./package.json", "utf8"));
1010

11-
const sourcemapOption = process.env.PROD ? undefined : "inline";
11+
const sourcemapOption = process.env.PROD ? true : "inline";
1212

1313
const babelConfig = {
1414
babelHelpers: "bundled",

0 commit comments

Comments
 (0)