Skip to content

Commit

Permalink
Merge pull request #282 from pkgw/globalobject-this
Browse files Browse the repository at this point in the history
engine: build the UMD module with a `globalObject` of `this`
  • Loading branch information
pkgw authored Nov 6, 2023
2 parents 252f582 + 1dce654 commit 0f7783c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ var config = {
entry: "./esm/index.js",
output: {
path: path.resolve(__dirname, "src"),
globalObject: "this",
library: {
name: "wwtlib",
type: "umd"
Expand Down

0 comments on commit 0f7783c

Please sign in to comment.