Naphthalene Possum Management
    Have ideas to improve npm?Join in the discussion! »

    @midiu/ignore-entry

    1.0.0 • Public • Published

    Webpack: Ignore Entry Plugin

    The webpack configs required entry and output file. But for some tasks, such as: copying files, build sprites... we don't need any entry file to compile.

    This plugin created to by pass required webpack entry configs

    Installation

    npm install --save-dev @midiu/ignore-entry

    Usage

    Register plugin to your webpack.config.js. For more informations, please have a look inside class IgnoreEntryPlugin

    const cwd = process.cwd();
    const IgnoreEntryPlugin = require('@midiu/ignore-entry');
     
    module.exports = {
        // your other webpack configs...
        mode: 'none',
        entry: {
            '.webpackignore': 'null'
        },
        plugins: [
            new IgnoreEntryPlugin('.webpackignore')
        ]
    }

    Install

    npm i @midiu/ignore-entry

    DownloadsWeekly Downloads

    6

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    5.75 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar