Skip to content

Commit

Permalink
feat(file-loader): load all reasonable image, audio and video formats…
Browse files Browse the repository at this point in the history
… using file-loader
  • Loading branch information
djcsdy committed Feb 23, 2019
1 parent 9635458 commit fd23f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit fd23f4f

Please sign in to comment.