Created
August 22, 2016 03:32
-
-
Save pechitook/0d03514fcf3416e9880b60799f04a2f8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* eslint-disable no-var */ | |
| var merge = require('webpack-merge'); | |
| var baseConfig = require('./webpack.config.base'); | |
| var prodConfig = { | |
| module: { | |
| loaders: [ | |
| { test: /\.svg$/, loaders: ['url-loader?limit=100000', 'image-webpack'] } | |
| ] | |
| } | |
| }; | |
| module.exports = merge.smart(baseConfig, prodConfig); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment