0.0.1-alpha.4 • Published 5 years ago

webpack-index-generator v0.0.1-alpha.4

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

Webpack Index Generator

Using webpack to generatr index.js make all files under folder have only one entrance.

Usage

const IndexGenerator = require('./dist');

// webpack config
plugins: [
  new IndexGenerator({
    dir: [
      './dirPath'
    ]
  }),
],

Options of Generator

interface IndexGeneratorOptions {
  // the path of watch dir
  dir?: string[] | string;
}
0.0.1-alpha.4

5 years ago

0.0.1-alpha.3

5 years ago

0.0.1-alpha.2

5 years ago

0.0.1-alpha

5 years ago