caneara/iodine

Uncaught ReferenceError: exports is not defined at iodine.min.js:1

Closed this issue · 2 comments

Hello Iodine Team Member,
I was trying to integrate Iodine in a project using CDN link and got into the error Uncaught ReferenceError: exports is not defined at iodine.min.js:1

Hi there. Thanks for reporting this. I’ll take a look at it this weekend.

Apologies, you need to use the UMD build for CDN. I've updated the readme to fix this.

<script src="https://cdn.jsdelivr.net/gh/mattkingshott/iodine/dist/iodine.min.umd.js" defer></script>