Skip to content

Commit

Permalink
change to ES module
Browse files Browse the repository at this point in the history
  • Loading branch information
taisukef committed Dec 20, 2022
1 parent 444b5de commit 1b5afdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/confetti.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const module = {};
(function main(global, module, isWorker, workerSize) {
var canUseWorker = !!(
global.Worker &&
Expand Down Expand Up @@ -624,3 +625,5 @@

return this || {};
})(), module, false));
const confetti = module.exports;
export { confetti };

0 comments on commit 1b5afdc

Please sign in to comment.