Skip to content

Commit

Permalink
[temp] reenable dev build
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelle committed Sep 29, 2023
1 parent 2a0e59a commit 2e0b920
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/packages/excalidraw/main.js
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
module.exports = require("./dist/excalidraw.production.min.js");
if (
process.env.NODE_ENV === "production" ||
window.__excalidraw_env__ === "production"
) {
module.exports = require("./dist/excalidraw.production.min.js");
} else {
module.exports = require("./dist/excalidraw.development.js");
}

0 comments on commit 2e0b920

Please sign in to comment.