Skip to content

lasso-js/lasso-fs-writer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Custom file system writer for lasso.

Resources

Stars

Watchers

Forks

Packages

No packages published