Fix path to Strophe's shared-connection-worker.js

Due to Lerna's hoisting, it's in the top-level node_modules
This commit is contained in:
JC Brand 2020-09-18 11:07:45 +02:00
parent fc2a0d07ab
commit 819a83f218
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ const plugins = [
new MiniCssExtractPlugin({filename: '../dist/converse.min.css'}),
new CopyWebpackPlugin({
patterns: [
{from: 'src/headless/node_modules/strophe.js/src/shared-connection-worker.js', to: 'shared-connection-worker.js'},
{from: 'node_modules/strophe.js/src/shared-connection-worker.js', to: 'shared-connection-worker.js'},
{from: 'sounds', to: 'sounds'},
{from: 'images/favicon.ico', to: 'images/favicon.ico'},
{from: 'images/custom_emojis', to: 'images/custom_emojis'},