npm install --save-dev rollup-plugin-gzip Usage import{rollup}from'rollup'importgzipPluginfrom'rollup-plugin-gzip'rollup({input:'src/index.js',plugins:[gzipPlugin()],}).then(/* ... */) NOTE: This plugin is an ES module. If you import it usingrequire(), you have to point to the ...
For rollup >= 0.60 - 1.x, use version 2.x of this plugin For older versions of rollup, use version 1.x of this plugin Installation npm install --save-dev rollup-plugin-gzip Usage import { rollup } from 'rollup' import gzipPlugin from 'rollup-plugin-gzip' rollup({ input: 'src/index...
rollup-plugin-gzip Creates a compressed.gz/.brartifact for your Rollup / Vite bundle. COMPATIBILITY NOTE: This version is compatible with rollup >= 2.0.0 For rollup >= 0.60 - 1.x, use version 2.x of this plugin For older versions of rollup, use version 1.x of this plugin ...
Compress your Rollup / Vite bundle with Gzip. Contribute to kryops/rollup-plugin-gzip development by creating an account on GitHub.
rollup-plugin-gzip 创建压缩的.gz/ < code>.br 您的 Rollup / Vite 捆绑包的工件。 兼容性说明:此版本与 rollup >= 2.0.0 兼容 For rollup >= 0.60 - 1.x, use version 2.x of this plugin For older versions of rollup, use version 1.x of this plugin ...
Compress your Rollup / Vite bundle with Gzip. Contribute to kryops/rollup-plugin-gzip development by creating an account on GitHub.