diff --git a/engine/webpack.config.js b/engine/webpack.config.js index 363fefb7..29335dca 100644 --- a/engine/webpack.config.js +++ b/engine/webpack.config.js @@ -4,6 +4,7 @@ var config = { entry: "./esm/index.js", output: { path: path.resolve(__dirname, "src"), + globalObject: "this", library: { name: "wwtlib", type: "umd"