Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 413 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 413 Bytes

bulk-angular-module

Extracts angular module names from a subdirectory structure passed by bulk-require.

Example

import * as bulk from 'bulk-require';
import { shouldThrowErrors, buildModule } from 'bulk-angular-module';

export const module = buildModule('your.module.name', bulk(__dirname, [ '*/*.js' ]));

export const module = buildFlatModule('another.module', bulk(__dirname, [ '*.js' ]));