tabs/frontend/ts/files.ts

7 lines
185 B
TypeScript
Raw Permalink Normal View History

function requireAll(r: any) {
r.keys().forEach(r);
}
requireAll((<any>require).context('../', true, /\.html$/));
requireAll((<any>require).context('../images/', true, /\.(.+)$/));