tabs/frontend/ts/files.ts

8 lines
241 B
TypeScript
Raw Permalink Normal View History

2020-09-29 20:43:41 +02:00
/* eslint-disable @typescript-eslint/no-explicit-any */
function requireAll(r: any) {
r.keys().forEach(r);
}
requireAll((<any>require).context('../', true, /\.html$/));
requireAll((<any>require).context('../images/', true, /\.(.+)$/));