diff --git a/webpack.config.ts b/webpack.config.ts index 5871440f3f..4842297f3a 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -12,7 +12,7 @@ const configuration = { filename: "index.js", libraryTarget: "umd", library: "docx", - globalObject: "this", + globalObject: "globalThis", }, resolve: {