Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 555 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 555 Bytes

Glob Entry Webpack Pluguin

A webpack plugin that adds entry chunks based on matched glob patterns.

Installation

Simply use npm. Enter the following command under your project folder:

npm install glob-entry-webpack-plugin

Usage

In your webpack configuration file (webpack.config.js):

module.exports = {
  ...

	// setup plugins
	plugins: [
    ...    
	  new GlobEntryPlugin('modules'),
    ...
	],
  ...
}

License

Copyright (c) 2016 Nelson Ricardo

MIT (http://opensource.org/licenses/mit-license.php)