core/apps/webapp/remix.config.js
Harshith Mullapudi d3f81404db Feat: first cut
2025-05-27 12:40:11 +05:30

31 lines
739 B
JavaScript

/** @type {import('@remix-run/dev').AppConfig} */
module.exports = {
dev: {
port: 8002,
},
tailwind: true,
postcss: true,
cacheDirectory: "./node_modules/.cache/remix",
ignoredRouteFiles: ["**/.*"],
serverModuleFormat: "cjs",
serverDependenciesToBundle: [
/^remix-utils.*/,
/^@internal\//, // Bundle all internal packages
"marked",
"axios",
"p-limit",
"yocto-queue",
"@unkey/cache",
"@unkey/cache/stores",
"emails",
"highlight.run",
"random-words",
"superjson",
"prismjs/components/prism-json",
"prismjs/components/prism-typescript",
"redlock",
"parse-duration",
],
browserNodeBuiltinsPolyfill: { modules: { path: true, os: true, crypto: true } },
};