misskey-awawa/webpack/plugins/compression.ts

10 lines
166 B
TypeScript
Raw Normal View History

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