Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

UI updates: Add mp4 support to webpack assets (#1051)

Robin Dekkers55204f005cb8
diff --git a/ui/util/webpack.util.js b/ui/util/webpack.util.js
index 145304062..31c96384c 100644
--- a/ui/util/webpack.util.js
+++ b/ui/util/webpack.util.js
@@ -21,7 +21,7 @@ function getStandardModuleRules() {
]
},
{
- test: /\.(png|jpg|ico|gif|svg|eot|ttf|woff|woff2)$/,
+ test: /\.(png|jpg|ico|gif|svg|eot|ttf|woff|woff2|mp4)$/,
type: "asset",
generator: {
filename: 'images/[hash][ext][query]'