diff --git a/lib/builder/webpack/base.config.js b/lib/builder/webpack/base.config.js index b0db0ddade..b3cc5e4358 100644 --- a/lib/builder/webpack/base.config.js +++ b/lib/builder/webpack/base.config.js @@ -103,6 +103,10 @@ export default function webpackBaseConfig ({ isClient, isServer }) { limit: 1000, // 1 KO name: 'fonts/[name].[hash:7].[ext]' } + }, + { + test: /\.(webm|mp4)$/, + loader: 'file' } ] },