diff --git a/build.js b/build.js index f7f0121..bab0582 100644 --- a/build.js +++ b/build.js @@ -12,24 +12,24 @@ build({ bundle: true, }).catch(exit); -// build({ -// entryPoints: ["./src/index.ts"], -// outfile: "./dist/index.browser.js", -// logLevel: "info", -// format: "iife", -// globalName: "events", -// platform: "browser", -// minify: true, -// }).catch(exit); +build({ + entryPoints: ["./src/index.ts"], + outfile: "./dist/index.browser.js", + logLevel: "info", + format: "iife", + globalName: "events", + platform: "browser", + minify: true, +}).catch(exit); -// build({ -// entryPoints: ["./src/index.ts"], -// outfile: "./dist/index.mjs", -// logLevel: "info", -// format: "esm", -// platform: "browser", -// minify: true, -// }).catch(exit); +build({ + entryPoints: ["./src/index.ts"], + outfile: "./dist/index.mjs", + logLevel: "info", + format: "esm", + platform: "browser", + minify: true, +}).catch(exit); build({ entryPoints: ["./src/react/index.ts"],