[go: nahoru, domu]

Skip to content

DrewML/webpack-emit-all-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack EmitAllPlugin

CircleCI

webpack, but without the pack. The EmitAllPlugin will emit all files in the dependency tree to output.path as separate files, allowing you to use loaders/plugins without the need to bundle, which can be useful for some specific use-cases.

Inspired by this tweet.

Install

npm install -D webpack-emit-all-plugin

Usage

In your webpack.config.js:

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

About

webpack, but without the `pack`

Resources

Stars

Watchers

Forks

Packages

No packages published