export const JS_EXTENSIONS = [ '.js' , '.ts' , '.jsx' , '.tsx' ] ; export const INDEX_FILE_NAME = 'index' ; export const APP_FILE_NAME = 'App' ; export const PAGES_DIR_NAME = 'pages' ; export const FILE_SYSTEM_ROUTES_FILE_NAME = 'routes.js' ; export const ENTRY_POINT_FILE_NAME = 'index.js' ; export const FILE_SYSTEM_ROUTES_DYNAMIC_REGEXP = /^\[(\S+)\]([*+?]?)$/ ; export const FILE_SYSTEM_ROUTES_LAYOUT = '_layout' ; export const FILE_SYSTEM_ROUTES_GLOBAL_LAYOUT = '_app' ; export const FILE_SYSTEM_ROUTES_INDEX = 'index' ; export const FILE_SYSTEM_ROUTES_IGNORED_REGEX = /\.(d|test|spec|e2e)\.(js|jsx|ts|tsx)$/ ; export const HTML_PARTIALS_FOLDER = 'html' ; export const HTML_PARTIALS_EXTENSIONS = [ '.htm' , '.html' , '.ejs' ] ; export const FILE_SYSTEM_ROUTES_COMPONENTS_DIR = 'internal_components' ;