Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jpommerening/context-entry-webpack-plugin

Use a context module as webpack entry
https://github.com/jpommerening/context-entry-webpack-plugin

Last synced: 24 days ago
JSON representation

Use a context module as webpack entry

Awesome Lists containing this project

README

        

# context-entry-webpack-plugin

> Use a context module as webpack entry

## Usage

Example:

```js
module.exports = {
output: {
filename: '[name].js'
},
plugins: [
new ContextEntryPlugin(__dirname, 'json-loader!./stuff/', true, /\.json$/, 'stuff')
]
};
```