From 1da643b8be886ad836dfd6da950b8b6ed4215f0c Mon Sep 17 00:00:00 2001 From: Raphael Sousa Santos Date: Thu, 3 Feb 2022 15:29:00 +0100 Subject: [PATCH] Set worker webpack ouput libraryTarget to umd --- webpack/config.worker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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