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