webpack-one-to-one-plugin

2.1.5 • Public • Published

webpack-one-to-one-plugin

Allow to make webpack build without bundling to one file. This plugin will emit all files in the dependency tree to output.path as separate files.

Fork of this plugin, but with some fixes and refactoring, also support webpack 3 and webpack 4

Install

npm install -D webpack-one-to-one-plugin

Usage

In your webpack.config.js:

const path = require('path');
const OneToOnePlugin = require('webpack-one-to-one-plugin');
{
    plugins: [
        new OneToOnePlugin({
            ignorePattern: /node_modules/ // default,
            path: path.join(__dirname, 'unbundled-out') // defaults to `output.path`
        })
    ]
}

Readme

Keywords

Package Sidebar

Install

npm i webpack-one-to-one-plugin

Weekly Downloads

1

Version

2.1.5

License

ISC

Unpacked Size

16.3 kB

Total Files

11

Last publish

Collaborators

  • sujimoshi