Skip to content

Commit 75e1e34

Browse files
committed
don't include dev sandcastles in prod
1 parent 3a0a7a4 commit 75e1e34

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/sandcastle/sandcastle.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import process from "process";
2+
13
const config = {
24
root: ".",
35
sourceUrl: "https://github.com/CesiumGS/cesium/blob/main/packages/sandcastle",
@@ -19,7 +21,7 @@ const config = {
1921
labels: [],
2022
development: false,
2123
},
22-
includeDevelopment: true,
24+
includeDevelopment: !process.env.PROD,
2325
},
2426
};
2527

0 commit comments

Comments
 (0)