Keep url-loader for images
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
11
webpack.js
11
webpack.js
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user