25626c8d92
Leverage the work done by yarn, rather than reimplementing from scratch. This means the fake fs is now reading from a zip file in the binary. A few methods need custom implementations as the fake fs is not writable. These were copied and adjusted from the yarn ZipOpenFS.
8 lines
206 B
TypeScript
8 lines
206 B
TypeScript
import * as wcp from 'webpack-config-prefabs'
|
|
export = wcp.nodeLibrary(module, {
|
|
enableTypescript: true,
|
|
entry: './src/fs/patch.ts',
|
|
minimize: false,
|
|
outputFilepath: './lib/fs/patch.bundle.js',
|
|
});
|