3.0.0 • Published 6 years ago
@gongt/export-all-in-one v3.0.0
export-all-in-one
yarn global add @gongt/export-all-in-one
## or
npm -g install @gongt/export-all-in-one
export-all-in-one ./path/to/tsconfig.json
- Resolve ALL files from given tsconfig.json
- Collect ALL exported thing from these files
- Join ALL of them into a single _export_all_in_once_index.ts (place next to tsconfig.json)
(You can) Setup
rollup
_export_all_in_once_index.ts as entryBOOM, everything exported. everyone can
import {anything, they, want} from '@your/package'
.
PS: Of course, all your file can not export two same named symbol....
But you have no reason to do that, except you want to fool your IDE.
PS2: default export is exported as it's file name. (unstable)
PS3: Remember to use /** @internal */
:D
3.0.0
6 years ago
2.0.1
6 years ago
2.0.0
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago