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

10 lines
166 B
TypeScript

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