Analyze all .js files to get the full picture.

This commit is contained in:
infinite-persistence 2021-10-27 09:19:20 +08:00
parent 310fc81bd9
commit 3788ef58ec
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -36,3 +36,4 @@ package-lock.json
.env.ody
.env.desktop
.env.lbrytv
analyzeResults*.html

View file

@ -20,7 +20,7 @@
},
"main": "./dist/electron/main.js",
"scripts": {
"analyze": "yarn compile && source-map-explorer --no-border-checks web/dist/public/ui*.js --html web/dist/_analyzeResults.html",
"analyze": "yarn compile && source-map-explorer --no-border-checks web/dist/public/*.js --html analyzeResults.html",
"compile:electron": "node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --config webpack.electron.config.js",
"compile:web": "yarn copyenv && cd web && node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --config webpack.config.js",
"compile": "cross-env NODE_ENV=production yarn compile:electron && cross-env NODE_ENV=production yarn compile:web",