diff --git a/packages/examples/qrcode.js b/packages/examples/qrcode.js index 38bdae1a..b3968226 100644 --- a/packages/examples/qrcode.js +++ b/packages/examples/qrcode.js @@ -12,8 +12,8 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd - ? define('qrcode', ['exports'], factory) - : ((global = typeof globalThis !== 'undefined' ? globalThis : global || self), factory((global.QRCode = {}))); + ? define('qrcode', ['exports'], factory) + : ((global = typeof globalThis !== 'undefined' ? globalThis : global || self), factory((global.QRCode = {}))); })(this, function (exports) { 'use strict';