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:
parent
d61893f723
commit
031ea8efed
3 changed files with 6 additions and 3 deletions
|
@ -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/'
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue