Skip to content

Instantly share code, notes, and snippets.

@pechitook
Created August 22, 2016 03:32
Show Gist options
  • Select an option

  • Save pechitook/0d03514fcf3416e9880b60799f04a2f8 to your computer and use it in GitHub Desktop.

Select an option

Save pechitook/0d03514fcf3416e9880b60799f04a2f8 to your computer and use it in GitHub Desktop.
/* 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