* build: Add separate dev and prod builds and add sourcemaps to dev build * update * add * update changelog
6 lines
187 B
JavaScript
6 lines
187 B
JavaScript
if (process.env.NODE_ENV === "production") {
|
|
module.exports = require("./dist/excalidraw.production.min.js");
|
|
} else {
|
|
module.exports = require("./dist/excalidraw.development.js");
|
|
}
|