summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/framework/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/framework/webpack.config.js')
-rw-r--r--sdnr/wt/odlux/framework/webpack.config.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/sdnr/wt/odlux/framework/webpack.config.js b/sdnr/wt/odlux/framework/webpack.config.js
index b5d31c262..cef310136 100644
--- a/sdnr/wt/odlux/framework/webpack.config.js
+++ b/sdnr/wt/odlux/framework/webpack.config.js
@@ -83,12 +83,13 @@ module.exports = (env) => {
loader: "babel-loader"
}]
}, {
+ //don't minify images
test: /\.(png|gif|jpg|svg)$/,
use: [{
loader: 'url-loader',
options: {
- limit: 10000,
- name: './images/[hash].[ext]'
+ limit: 10,
+ name: './images/[name].[ext]'
}
}]
}]