@file-services/webpack
TypeScript icon, indicating that this package has built-in type declarations

5.7.1 • Public • Published

@file-services/webpack

npm version

Helpers for creation of webpack-compatible file systems.

Installation

Install library in project:

npm i @file-services/webpack

Usage

import webpack from 'webpack';
import { nodeFs } from '@file-services/node';
import { createWebpackFs } from '@file-services/webpack';

const compiler = webpack({
  /* webpack config */
});

const webpackFs = createWebpackFs(nodeFs);
compiler.inputFileSystem = webpackFs;
compiler.outputFileSystem = webpackFs;

compiler.run((e, stats) => {
  /* handle bundling result */
});

License

MIT

/@file-services/webpack/

    Package Sidebar

    Install

    npm i @file-services/webpack

    Weekly Downloads

    0

    Version

    5.7.1

    License

    MIT

    Unpacked Size

    8.9 kB

    Total Files

    13

    Last publish

    Collaborators

    • avi.vahl
    • pistolpete_
    • tomermes
    • cijoe