diff --git a/webpack.config.ts b/webpack.config.ts index 13e94c1..95ea70a 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -38,6 +38,7 @@ export default (env: any, argv: any): webpack.Configuration => { type: 'umd', }, clean: true, + globalObject: 'globalThis', }, }; };