1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Use named chunk for embed on analyze

This commit is contained in:
Chocobozzz 2021-02-25 15:00:43 +01:00
parent d61893f723
commit 031ea8efed
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 6 additions and 3 deletions

View file

@ -40,7 +40,11 @@ module.exports = function () {
: '[name].[hash].bundle.js',
sourceMapFilename: '[file].map',
chunkFilename: '[id].[hash].chunk.js',
chunkFilename: process.env.ANALYZE_BUNDLE === 'true'
? '[name].chunk.js'
: '[id].[hash].chunk.js',
publicPath: '/client/standalone/videos/'
},