1.0.9 • Published 5 years ago
@shopup/tools v1.0.9
Utils
directoryImporter
Utils for importing all the exported modules from the specified directory
Arguments | Type | Description |
---|---|---|
folderPath | string | The full path of the directory you want to import the files |
exclude | string[] | A list of filenames you want to be excluded from the import process. |
Usage
// index.ts
import { directoryImporter } from '@shopup/utils';
export default directoryImporter(__dirname,['index.ts']);
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago
1.0.5-beta
5 years ago
1.0.4-beta
5 years ago
1.0.3-beta
5 years ago
1.0.2-beta
5 years ago
1.0.1-beta
5 years ago
1.0.0-beta
5 years ago