globbed-webpack-entries-plugin
v1.0.3
Published
File type agnostic globbed webpack entries with watching.
Downloads
98
Keywords
Readme
globbed-webpack-entries-plugin
Provides a way to glob for entry files in Webpack watch
and non-watch
modes, for all file types.
Usage
import GlobbedEntriesPlugin from 'globbed-webpack-entries-plugin';
// In your Webpack config:
{
entry: GlobbedEntriesPlugin.entries({
global : ['./Scripts/**/*.js', './Styles/**/*.scss']
}
)
plugins: [
new GlobbedEntriesPlugin(),
]
}