Shape of preload files configuration. Preload files are automatically imported during application boot for specific environments.
const preloadFile: PreloadNode = { file: () => import('./start/routes.js'), environment: ['web', 'console']} Copy
const preloadFile: PreloadNode = { file: () => import('./start/routes.js'), environment: ['web', 'console']}
Shape of preload files configuration. Preload files are automatically imported during application boot for specific environments.
Example