Sharkey/webpack/plugins/compression.ts

10 lines
166 B
TypeScript

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