diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-06 10:26:39 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-06 10:58:36 +0200 |
commit | a3b5e78af3696f807e54bc4b11e559bbd9b6ba1e (patch) | |
tree | 037c42e9a7a637fba9be5d52800afba402eb9df2 /scripts/build/embed.sh | |
parent | 5c145fe7ab6c1e975f5d43391316e8db9ca31974 (diff) | |
download | PeerTube-a3b5e78af3696f807e54bc4b11e559bbd9b6ba1e.tar.gz PeerTube-a3b5e78af3696f807e54bc4b11e559bbd9b6ba1e.tar.zst PeerTube-a3b5e78af3696f807e54bc4b11e559bbd9b6ba1e.zip |
Analyze embed too with bundlewatch
Diffstat (limited to 'scripts/build/embed.sh')
-rwxr-xr-x | scripts/build/embed.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/embed.sh b/scripts/build/embed.sh index 4be2afc25..3fcfc6ba2 100755 --- a/scripts/build/embed.sh +++ b/scripts/build/embed.sh | |||
@@ -4,4 +4,5 @@ set -eu | |||
4 | 4 | ||
5 | cd client | 5 | cd client |
6 | 6 | ||
7 | NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/embed-stats.json" | 7 | mkdir -p ./dist/standalone/videos/ |
8 | NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/standalone/videos/embed-stats.json" | ||