Skip to content

Commit

Permalink
Add loader to handle svg file type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tina C Lin (RD-TW) committed Jun 1, 2018
1 parent b458908 commit b9df241
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ module.exports = {
{
test: /\.css$/,
loader: 'style-loader!css-loader'
},
{
test: /\.(png|jpg|svg)$/,
loader: 'url-loader'
}
]
},
Expand Down

0 comments on commit b9df241

Please sign in to comment.