/**
 * Entry points to be loaded by Webpack.
 *
 * Checks for sources in the order they are defined and creates a
 * single entry per key if a source file exists.
 *
 * @see getEntries
 */

export type EntriesConfig = {
	[file: string]: string[];
};

const entries: EntriesConfig = {
	master: [
		'index.js',
		'index.ts',
		'index.tsx',
	],
	admin: [
		'admin.js',
		'admin.ts',
		'admin.tsx',
	],
};

module.exports = entries;
