From fd23f4fb71c64201889da9276ed1554811b0de9b Mon Sep 17 00:00:00 2001 From: Daniel Cassidy Date: Sat, 23 Feb 2019 03:10:00 +0000 Subject: [PATCH] feat(file-loader): load all reasonable image, audio and video formats using file-loader --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index f7906429..b94697fe 100644 --- a/index.ts +++ b/index.ts @@ -152,7 +152,7 @@ function WebpackConfig(project: WebpackConfig.Project): (env: any) => Configurat : [MiniCssExtractPlugin.loader, cssLoader, postcssLoader, lessLoader] }, { - test: /\.(png|jpe?g|gif)$/, + test: /\.(jpe?g|gif|mp[34]|og[agv]|png|web[mp])$/, use: { loader: "file-loader", options: {