Skip to content

Commit

Permalink
enable dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelle committed Nov 22, 2023
1 parent ee36ae0 commit 315ec9d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/packages/excalidraw/main.js
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
module.exports = require("./dist/excalidraw.production.min.js");
if (process.env.NODE_ENV === "production") {
module.exports = require("./dist/excalidraw.production.min.js");
} else {
module.exports = require("./dist/excalidraw.development.js");
}

0 comments on commit 315ec9d

Please sign in to comment.