Skip to content

Commit

Permalink
Keep url-loader for images
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliushaertl committed Jul 31, 2020
1 parent a5a86c1 commit ef6caf3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ const config = {
jsonpFunction: 'webpackJsonpOCADeck',
chunkFilename: '[name].js?v=[contenthash]',
},
module: {
rules: [
{
test: /\.(png|jpg|gif|svg)$/,
loader: 'url-loader',
options: {
name: '[name].[ext]?[hash]'
}
}
]
},
resolve: {
extensions: ['*', '.js', '.vue', '.json'],
modules: [
Expand Down

0 comments on commit ef6caf3

Please sign in to comment.