gulp-gopherjs

module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2015 License: MIT

README

gulp-gopherjs

A GopherJS plugin for Gulp.

Installation

npm install --save gulp-gopherjs

Usage

var gopher = require('gulp-gopherjs');

gulp.task('gopher', function() {
	return gulp.src('main.go')
		.pipe(gopher({/* options */}));
});

See test/gulpfile.js for more examples.

NOTE: in gulp.src you need to set your main go file to be compiled. All go files in that directory will be compiled.

Options

{
	// Set a destination folder for the compiled files.
	dest: './js',

	// Set to trye if you want to minify your compiled files.
	minify: false,
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL