aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/webpack
diff options
context:
space:
mode:
Diffstat (limited to 'client/webpack')
-rw-r--r--client/webpack/webpack.video-embed.js14
1 files changed, 8 insertions, 6 deletions
diff --git a/client/webpack/webpack.video-embed.js b/client/webpack/webpack.video-embed.js
index 2ecbd09af..8320d01e7 100644
--- a/client/webpack/webpack.video-embed.js
+++ b/client/webpack/webpack.video-embed.js
@@ -105,21 +105,23 @@ module.exports = function () {
105 105
106 { 106 {
107 test: /\.html$/, 107 test: /\.html$/,
108 use: 'raw-loader',
109 exclude: [ 108 exclude: [
110 helpers.root('src/index.html'), 109 helpers.root('src/index.html'),
111 helpers.root('src/standalone/videos/embed.html'), 110 helpers.root('src/standalone/videos/embed.html'),
112 helpers.root('src/standalone/videos/test-embed.html') 111 helpers.root('src/standalone/videos/test-embed.html')
113 ] 112 ],
113 type: 'asset/source'
114 }, 114 },
115 115
116 { 116 {
117 test: /\.(jpg|png|gif)$/, 117 test: /\.(jpg|png|gif|svg)$/,
118 use: 'url-loader' 118 type: 'asset'
119 }, 119 },
120 120
121 { test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, use: 'url-loader?limit=10000&minetype=application/font-woff' }, 121 {
122 { test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, use: 'file-loader' } 122 test: /\.(ttf|eot|woff2?)$/,
123 type: 'asset'
124 }
123 ] 125 ]
124 126
125 }, 127 },