ambitious-flag-22427
09/27/2023, 6:00 PMfull-eve-52536
09/27/2023, 6:05 PMindex.ts
files are kept VERY simple. They only import said files in the desired order. For example:export
resources all over the place 😆straight-cartoon-24485
09/27/2023, 6:20 PMfull-eve-52536
09/27/2023, 6:22 PMexport
it.
Providers for sure. We define that provider in it's own file and export
it, then reference it in all of the files that require a Provider.little-cartoon-10569
09/27/2023, 10:22 PMancient-car-89914
09/28/2023, 6:47 AMPromise.all(
fs
.readdirSync(__dirname + '/resources')
.map(file => import(__dirname + '/resources/' + file))
).then(resource => {
// declaring further dependent resources here
}