update webpack to 4.44.2 and copy-webpack-plugin to 6.4.1
This commit is contained in:
parent
ec14cc8828
commit
d9afaadb27
4 changed files with 516 additions and 203 deletions
|
@ -20,11 +20,6 @@
|
|||
"to": "static/daemon/",
|
||||
"filter": ["**/*"]
|
||||
},
|
||||
{
|
||||
"from": "./static/lbry-first/",
|
||||
"to": "static/lbry-first/",
|
||||
"filter": ["**/*"]
|
||||
},
|
||||
{
|
||||
"from": "./static/img",
|
||||
"to": "static/img",
|
||||
|
|
|
@ -106,7 +106,7 @@
|
|||
"codemirror": "^5.39.2",
|
||||
"concurrently": "^4.1.2",
|
||||
"connected-react-router": "^6.8.0",
|
||||
"copy-webpack-plugin": "^5.1.2",
|
||||
"copy-webpack-plugin": "^6.4.1",
|
||||
"copyfiles": "^2.4.1",
|
||||
"country-data": "^0.0.31",
|
||||
"cross-env": "^7.0.3",
|
||||
|
@ -205,7 +205,7 @@
|
|||
"stream-to-blob-url": "^2.1.1",
|
||||
"strip-markdown": "^3.0.3",
|
||||
"style-loader": "^0.23.1",
|
||||
"terser-webpack-plugin": "^1.2.3",
|
||||
"terser-webpack-plugin": "^4.2.3",
|
||||
"three": "^0.125.0",
|
||||
"three-full": "^17.1.0",
|
||||
"tiny-relative-date": "^1.3.0",
|
||||
|
@ -218,7 +218,7 @@
|
|||
"videojs-event-tracking": "^1.0.1",
|
||||
"villain-react": "^1.0.9",
|
||||
"wavesurfer.js": "^2.2.1",
|
||||
"webpack": "^4.28.4",
|
||||
"webpack": "^4.44.2",
|
||||
"webpack-bundle-analyzer": "^3.1.0",
|
||||
"webpack-cli": "^3.3.10",
|
||||
"webpack-config-utils": "^2.3.1",
|
||||
|
|
|
@ -42,11 +42,14 @@ let mainConfig = {
|
|||
],
|
||||
},
|
||||
plugins: [
|
||||
new CopyWebpackPlugin([
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
{
|
||||
from: `${STATIC_ROOT}/`,
|
||||
to: `${DIST_ROOT}/electron/static/`,
|
||||
ignore: ['index-web.html', 'index-electron.html', 'daemon/**/*', 'lbry-first/**/*'],
|
||||
globOptions: {
|
||||
ignore: ['index-web.html', 'index-electron.html', 'daemon/**/*'],
|
||||
},
|
||||
},
|
||||
{
|
||||
from: `${STATIC_ROOT}/index-electron.html`,
|
||||
|
@ -56,11 +59,8 @@ let mainConfig = {
|
|||
from: `${STATIC_ROOT}/daemon`,
|
||||
to: `${DIST_ROOT}/electron/daemon`,
|
||||
},
|
||||
{
|
||||
from: `${STATIC_ROOT}/lbry-first`,
|
||||
to: `${DIST_ROOT}/electron/lbry-first`,
|
||||
},
|
||||
]),
|
||||
],
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue