0.2.6 • Published 10 years ago

plumber-write v0.2.6

Weekly downloads
19
License
GPL
Repository
github
Last release
10 years ago

plumber-write Build Status

Write-to-filesystem operation for Plumber pipelines.

Example

var write = require('plumber-write');

module.exports = function(pipelines) {

    pipelines['compile'] = [
        // ... pipeline operations
        write('target/dist')
    ];

};

API

write(destination)

Write all input resources to the destination directory.

A Report is generated for each resources written to disk.

write.omitSourceMap

Returns a new write operation that won't write out the source map data.

omitSourceMap can be used either as a prefix or suffix:

var writeNoMap = write.omitSourceMap;

pipelines['compile'] = [
    // ... pipeline operations
    writeNoMap('target/dist')
];

// or

pipelines['compile'] = [
    // ... pipeline operations
    write('target/dist').omitSourceMap
];

write.omitContentFromSourceMap

Returns a new write operation that will write out source maps without the sourcesContent.

Like omitSourceMap, omitContentFromSourceMap can be used either as a prefix or suffix.

0.2.6

10 years ago

0.4.1

10 years ago

0.2.5

10 years ago

0.4.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago