/** @type {import('@remix-run/dev').AppConfig} */ module.exports = { appDirectory: 'app', ignoredRouteFiles: ['**/.*'], watchPaths: ['./public', './.env'], server: './server.ts', /** * The following settings are required to deploy Hydrogen apps to Oxygen: */ publicPath: (process.env.HYDROGEN_ASSET_BASE_URL ?? '/') + 'build/', assetsBuildDirectory: 'dist/client/build', serverBuildPath: 'dist/worker/index.js', serverMainFields: ['browser', 'module', 'main'], serverConditions: ['worker', process.env.NODE_ENV], serverDependenciesToBundle: 'all', serverModuleFormat: 'esm', serverPlatform: 'neutral', serverMinify: process.env.NODE_ENV === 'production', tailwind: true, postcss: true, future: { v2_meta: true, v2_headers: true, v2_errorBoundary: true, v2_routeConvention: true, v2_normalizeFormMethod: true, }, };