UNPKG

rollup-plugin-google-closure-compiler

Version:
31 lines (22 loc) 672 B
# rollup-plugin-google-closure-compiler [Rollup](https://github.com/rollup/rollup) plugin to invoke Google Closure Compiler with Java. Forked from [rikuayanokozy/rollup-plugin-closure-compiler](https://github.com/rikuayanokozy/rollup-plugin-closure-compiler) Therefore most credits go to rikuayanokozy ## Install ```sh npm install rollup-plugin-google-closure-compiler ``` ## Usage ```js import { rollup } from 'rollup'; import closure from 'rollup-plugin-google-closure-compiler'; rollup({ entry: 'main.js', plugins: [ closure() ] }); ``` See [closure docs](https://github.com/google/closure-compiler) for more options. ## License MIT License