webpack-glob-entry
simple function to transform glob patterns in webpack entry object
install
npm install webpack-glob-entry --save-dev
usage
simply call entry
function with glob pattern
var entry = moduleexports = entry: output: path: 'public/build' publicPath: 'build' filename: '[name].bundle.js' chunkFilename: '[id].chunk.js'
you can also pass multiple glob patterns like this
entry:
you can also pass entryName
function as first argument like this
var path = moduleexports = entry:
you can also use entry.basePath
function as first argument like this
moduleexports = entry: # or like this moduleexports = entry: # or like this moduleexports = entry: