@innofake/merge-index
v1.1.0
Published
Merge Index is a tool that allows generating a single js file that re-exports all other js or ts index files in a specified directory.
Readme
@innofake/merge-index
Merge Index is a tool that allows generating a single js file that re-exports all other js or ts index files in a specified directory.
Install
npm i -D @innofake/merge-indexUsage
merge-indexOptions
| Command/option | Type | Description | Example |
| ---------------- | -------- | ----------------------------------------------------------------- | ------------------------------------------------------- |
| --dir | string | Path to directory with js and/or index file(s) | --dir "dist" |
| --out | string | File name for generated export js file | --out "index.js" |
