Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Accept a Buffer in addition to files in .compile() #11

Open
@sindresorhus

Description

@sindresorhus

I've created a gulp plugin for Closure Compiler using this excellent module.

Gulp works on streams and buffers and not files while this module requires you to supply files. A lot of other Node things does this too.

It would be useful if you could also supply a buffer that is passed to the Closure Compiler stdin.

Like:

ClosureCompiler.compile(new Buffer('function foo() {}'), {}, function () {});

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions