Skip to content

Commit

Permalink
fix: prop window is not defined in web worker (#1749)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Nov 29, 2023
1 parent de89c0d commit 6591404
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 826 deletions.
3 changes: 0 additions & 3 deletions esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ const options = {
platform: 'browser',
globalName: 'mqtt',
sourcemap: false, // this can be enabled while debugging, if we decide to keep this enabled we should also ship the `src` folder to npm
define: {
'global': 'window'
},
plugins: [
polyfillNode({
polyfills: [
Expand Down

0 comments on commit 6591404

Please sign in to comment.