File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,13 @@ module.exports = {
21
21
//fonts
22
22
{ test : / \. w o f f ( 2 ) ? ( \? v = [ 0 - 9 ] \. [ 0 - 9 ] \. [ 0 - 9 ] ) ? $ / , loader : "url-loader?limit=10000&minetype=application/font-woff" } ,
23
23
{ test : / \. ( t t f | e o t | s v g ) ( \? v = [ 0 - 9 ] \. [ 0 - 9 ] \. [ 0 - 9 ] ) ? $ / , loader : "file-loader" } ,
24
+ {
25
+ test : / \. ( j p e ? g | p n g | g i f | s v g ) $ / i,
26
+ loaders : [
27
+ 'file?hash=sha512&digest=hex&name=[hash].[ext]' ,
28
+ 'image-webpack?bypassOnDebug&optimizationLevel=7&interlaced=false'
29
+ ]
30
+ }
24
31
//uglify ignore
25
32
// {
26
33
// test: /.*\/app\/.*\.js$/,
@@ -41,7 +48,7 @@ module.exports = {
41
48
"window.jQuery" : "jquery" ,
42
49
"root.jQuery" : "jquery" ,
43
50
"Hammer" : "hammerjs"
44
- //jquery-hammerjs
51
+ //jquery-hammerjs
45
52
} )
46
53
//new webpack.optimize.UglifyJsPlugin({
47
54
// //say no to yellow terminal after minify
You can’t perform that action at this time.
0 commit comments