Skip to content

Commit

Permalink
Merge pull request #577 from pusher/worker-bundle
Browse files Browse the repository at this point in the history
Set worker webpack ouput libraryTarget to umd
  • Loading branch information
sonologico authored Feb 4, 2022
2 parents e983cb1 + 1da643b commit 7e308e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack/config.worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ var config = merge(configShared, {
output: {
library: 'Pusher',
path: path.join(__dirname, '../dist/worker'),
filename: filename
filename: filename,
libraryTarget: 'umd'
},
resolve: {
// in order to import the appropriate runtime.ts
Expand Down

0 comments on commit 7e308e6

Please sign in to comment.