Skip to content

Commit

Permalink
fix: ReferenceError: self is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
27medkamal committed Nov 16, 2023
1 parent 0ac03d4 commit 2ab75c3
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 2ab75c3

Please sign in to comment.