Skip to content

superReal/webpack-glob-entries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-glob-entries

Finds and returns entry point files in a custom folder

DEPRECATED

Instalation

npm install --save-dev git+https://github.com/superReal/webpack-glob-entries.git

Usage

const globEntries = require( 'webpack-glob-entries' )

{
    entry: globEntries( '/root/path/project', '/**/*.entry.js' ),
    output: {
        filename: '[name].js'
    }
}

Params

Parameter Description Required Default
rootPath Root path of glob path  ✔️
globPath Glob path for entry points  ✔️
entryExt Extension of entry point files  .entry.js