| @@ -52,8 +52,19 @@ | ||
| 52 | 52 | outputStyle: |
| 53 | 53 | 'production' === process.env.NODE_ENV ? 'compressed' : 'nested' |
| 54 | 54 | } |
| 55 | 55 | } ] |
| 56 | + }, | |
| 57 | + { | |
| 58 | + test: /\.(png|jpe?g|gif)$/, | |
| 59 | + use: [ | |
| 60 | + { | |
| 61 | + loader: 'file-loader', | |
| 62 | + options: { | |
| 63 | + name: './[name].[ext]' | |
| 64 | + } | |
| 65 | + } | |
| 66 | + ] | |
| 56 | 67 | } |
| 57 | 68 | ] |
| 58 | 69 | }, |
| 59 | 70 | optimization: { |