From f89513ae508a4f984d35ed51758af95a33085338 Mon Sep 17 00:00:00 2001 From: sembauke Date: Wed, 17 Jan 2024 12:55:02 +0100 Subject: [PATCH] fix: set webpack global Object to "this" --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index 8946f86..898b20b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -8,6 +8,7 @@ module.exports = { }, devtool: process.env.NODE_ENV ? "source-map" : "inline-source-map", output: { + globalObject: 'this', library: { name: "helpers", type: "umd",