Skip to content

Commit

Permalink
fix: ReferenceError: self is not defined (#99)
Browse files Browse the repository at this point in the history
* fix: ReferenceError: self is not defined

* address prettier issue
  • Loading branch information
27medkamal authored Dec 18, 2023
1 parent 0ac03d4 commit 6d63dd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
library: 'Crunker',
libraryTarget: 'umd',
umdNamedDefine: true,
globalObject: "typeof self !== 'undefined' ? self : this",
},
devtool: 'source-map',
module: {
Expand Down

0 comments on commit 6d63dd5

Please sign in to comment.