浏览代码

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

Due to Lerna's hoisting, it's in the top-level node_modules
JC Brand 4 年之前
父节点
当前提交
819a83f218
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      webpack.prod.js

+ 1 - 1
webpack.prod.js

@@ -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'},