diff --git a/next.config.js b/next.config.js index e0faf47..c761265 100644 --- a/next.config.js +++ b/next.config.js @@ -23,6 +23,16 @@ const nextConfig = { }, }, }); + config.module.rules.push({ + test: /\.(mp4|webm|mov)$/, + use: { + loader: "file-loader", + options: { + publicPath: "/_next/static/videos", + outputPath: "static/videos", + }, + }, + }); config.module.rules.push({ test: /\.(md|markdown)$/, type: "asset/source",