@lipemat/js-boilerplate
Version:
Dependencies and scripts for a no config JavaScript app
28 lines (24 loc) • 429 B
text/typescript
/**
* 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;