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:
Eric Mc Sween
2025-03-06 09:05:23 +00:00
committed by Copybot
parent 8e86a78666
commit 4ccc21ca85
30 changed files with 325 additions and 42 deletions
+2 -2
View File
@@ -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]',