Socket
Book a DemoInstallSign in
Socket

gobble-prosecco

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gobble-prosecco

Use Prosecco to minify your javascript files within a GobbleJS workflow

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

gobble-prosecco

Use Prosecco to minify your javascript files within a GobbleJS workflow.

Installation

I assume you already know the basics of Gobble.

npm i -D gobble-prosecco

Usage

In your gobblefile, run the prosecco gobble transform, like so:

var gobble = require( 'gobble' );
module.exports = gobble( 'src' )
	.transform( 'prosecco' );

By default, gobble-prosecco will minify only files with a .js extension, and output files with a .min.js extension. Override this with the accept and ext options:

var gobble = require( 'gobble' );
module.exports = gobble( 'src' )
	.transform( 'prosecco', {
		accept: ['.js', '.jsx', '.jsnext'],
		ext: ['.small.js']
		// Any other Prosecco options go here
	} );

License

"THE BEER-WARE LICENSE":
<ivan@sanchezortega.es> wrote this file. As long as you retain this notice you
can do whatever you want with this stuff. If we meet some day, and you think
this stuff is worth it, you can buy me a beer in return.

Keywords

prosecco

FAQs

Package last updated on 20 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts