diff --git a/webpack/config.worker.js b/webpack/config.worker.js index 8a2faee4b..91b11e909 100644 --- a/webpack/config.worker.js +++ b/webpack/config.worker.js @@ -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