mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 02:13:08 +02:00
parent
4256e20a7f
commit
d7efdd7123
1 changed files with 2 additions and 0 deletions
|
@ -129,6 +129,8 @@ export function getConfig(): UserConfig {
|
|||
vue: ['vue'],
|
||||
photoswipe: ['photoswipe', 'photoswipe/lightbox', 'photoswipe/style.css'],
|
||||
},
|
||||
chunkFileNames: process.env.NODE_ENV === 'production' ? '[hash:8].js' : '[name]-[hash:8].js',
|
||||
assetFileNames: process.env.NODE_ENV === 'production' ? '[hash:8][extname]' : '[name]-[hash:8][extname]',
|
||||
},
|
||||
},
|
||||
cssCodeSplit: true,
|
||||
|
|
Loading…
Reference in a new issue