Skip to content

Commit eabb861

Browse files
Build in production mode when necessary
1 parent 2fe8645 commit eabb861

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "egraph-visualizer",
3-
"version": "0.1.8",
3+
"version": "0.1.9",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/saulshanabrook/egraph-visualizer.git"

src/Visualizer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ function toELKNode(
337337
);
338338
// Use interactive layout if more than half the classes already have positions as a heuristic
339339
if ((overlappingClasses.false || []).length > (overlappingClasses.true || []).length) {
340-
console.log("not using interactive layout");
341340
return { elkNode: elkRoot, colors };
342341
}
343342
// We have some children that were already layed out. So let's update all layout options to be interactive

vite.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ export default defineConfig({
2121
},
2222

2323
define: {
24-
"process.env": {},
24+
"process.env": {
25+
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
26+
},
2527
},
2628
});

0 commit comments

Comments
 (0)