const loaders = require('loaders');
module.exports = {
	components: 'lib/components/**/[A-Z]*.js',
	defaultExample: true,
	webpackConfigFile: false,
	webpackConfig: {
		module: {
			loaders: loaders.all,
		},
	},
};

const loaders = require('loaders');
module.exports = {
	components: 'lib/components/**/[A-Z]*.js',
	defaultExample: true,
	webpackConfigFile: false,
	webpackConfig: {
		module: {
			loaders: loaders.all,
		},
		performance: {
			maxAssetSize: 650000,  // bytes
			maxEntrypointSize: 650000,  // bytes
			hints: 'error',
		},
	},
};

Use Webpack 2 performance budget to test bundle size
Test: Use Webpack 2 performance budget to test bundle size

In case we put something huge into it, or UglifyJS will not work again.
