@midiu/ignore-entry
v1.0.0
Published
Webpack Plugin: By pass required webpack entry configs
Downloads
2
Maintainers
Readme
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')
]
}