mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #24046 from overleaf/em-cdn-assets
Load assets from the CDN in selected pages GitOrigin-RevId: c2b25f74e30c0ce47e486855dee3815d72d43d47
This commit is contained in:
@@ -247,8 +247,8 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
{
|
||||
// Load images (static files)
|
||||
test: /\.(svg|gif|png|jpg|pdf)$/,
|
||||
// Load images and videos (static files)
|
||||
test: /\.(svg|gif|png|jpg|pdf|mp4)$/,
|
||||
type: 'asset/resource',
|
||||
generator: {
|
||||
filename: 'images/[name]-[contenthash][ext]',
|
||||
|
||||
Reference in New Issue
Block a user