Sharkey/webpack/plugins/compression.ts
2017-05-17 00:28:45 +09:00

9 lines
166 B
TypeScript

/**
* Compressor
*/
const CompressionPlugin = require('compression-webpack-plugin');
export default () => new CompressionPlugin({
deleteOriginalAssets: true
});