1.1.0 • Published 8 years ago
lasso-fs-writer v1.1.0
lasso-fs-writer
A plugin for lasso that will allow you to use a custom FS when writing files.
This is useful for things like saving the output to memory.
WARNING:
lasso-fs-writershould only be used to do Lasso with prebuilds.
Usage
const fs = require('memory-fs');
require('lasso').configure({
plugins: [
{
plugin: 'lasso-fs-writer',
config: {
fileSystem: new MemoryFS()
}
}
],
...
});Configuration Properties
fileSystem{Object} - The new file system to use.