Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/camelaissani/rollup-plugin-closure-compiler-js
Rollup plugin for optimizing JavaScript with google-closure-compiler-js.
https://github.com/camelaissani/rollup-plugin-closure-compiler-js
closure closure-compiler compiler minify rollup rollup-plugin
Last synced: about 7 hours ago
JSON representation
Rollup plugin for optimizing JavaScript with google-closure-compiler-js.
- Host: GitHub
- URL: https://github.com/camelaissani/rollup-plugin-closure-compiler-js
- Owner: camelaissani
- License: mit
- Created: 2016-09-17T15:41:37.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-12T09:34:43.000Z (about 7 years ago)
- Last Synced: 2024-11-05T09:21:49.099Z (11 days ago)
- Topics: closure, closure-compiler, compiler, minify, rollup, rollup-plugin
- Language: JavaScript
- Homepage:
- Size: 18.6 KB
- Stars: 31
- Watchers: 3
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rollup-plugin-closure-compiler-js
[![license](https://img.shields.io/npm/l/rollup-plugin-closure-compiler-js.svg)](https://github.com/camelaissani/rollup-plugin-closure-compiler-js/blob/master/LICENSE)
[![Build Status](https://travis-ci.org/camelaissani/rollup-plugin-closure-compiler-js.svg)](https://travis-ci.org/camelaissani/rollup-plugin-closure-compiler-js)
[![dependencies Status](https://david-dm.org/camelaissani/rollup-plugin-closure-compiler-js/status.svg)](https://david-dm.org/camelaissani/rollup-plugin-closure-compiler-js)
[![devDependencies Status](https://david-dm.org/camelaissani/rollup-plugin-closure-compiler-js/dev-status.svg)](https://david-dm.org/camelaissani/rollup-plugin-closure-compiler-js?type=dev)[![latest version](https://img.shields.io/npm/v/rollup-plugin-closure-compiler-js.svg)](https://www.npmjs.com/package/rollup-plugin-closure-compiler-js)
[![npm](https://img.shields.io/npm/dm/rollup-plugin-closure-compiler-js.svg)](https://www.npmjs.com/package/rollup-plugin-closure-compiler-js)[Rollup](https://github.com/rollup/rollup) plugin for optimizing JavaScript with google-closure-compiler-js.
## Install
```sh
npm i rollup-plugin-closure-compiler-js -D
```## Usage
```js
import { rollup } from 'rollup';
import closure from 'rollup-plugin-closure-compiler-js';rollup({
entry: 'main.js',
plugins: [
closure()
]
});
```See [closure-compiler-js documentation](https://github.com/google/closure-compiler-js#flags) for more information about options.
# License
MIT ©