1.1.0 • Published 6 years ago

lasso-fs-writer v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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-writer should 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.
1.1.0

6 years ago

1.0.0

6 years ago