Sharkey/webpack/plugins/compression.ts

10 lines
166 B
TypeScript
Raw Normal View History

2017-05-16 08:28:45 -07:00
/**
* Compressor
*/
const CompressionPlugin = require('compression-webpack-plugin');
export default () => new CompressionPlugin({
deleteOriginalAssets: true
});