Skip to content

Commit 6b95725

Browse files
authored
fix: generate separate bundle for recorder worker (#9633)
Signed-off-by: Alexander Onnikov <[email protected]>
1 parent e6fc466 commit 6b95725

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

desktop/webpack.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ module.exports = [
122122
// ------ UI Part --------------------------
123123
{
124124
entry: {
125-
bundle: ['@hcengineering/theme/styles/global.scss', ...['./src/ui/index.ts']]
125+
bundle: ['@hcengineering/theme/styles/global.scss', ...['./src/ui/index.ts']],
126+
'recorder-worker': '@hcengineering/recorder-resources/src/recorder-worker.ts'
126127
},
127128
ignoreWarnings: [
128129
{
@@ -147,7 +148,7 @@ module.exports = [
147148
},
148149
output: {
149150
path: path.join(__dirname, '/dist/ui/'),
150-
filename: 'bundle.js',
151+
filename: '[name].js',
151152
chunkFilename: '[name].js',
152153
publicPath: './',
153154
chunkFormat: false,

0 commit comments

Comments
 (0)