Files
triggerdotdev--trigger.dev/apps/webapp/remix.config.js
T
Eric Allam 61b338bea7 chore(repo): upgrade repo to pnpm@10 to prevent executing dep scripts on install (#2712)
* chore: migrate pnpm lockfile to v9 format via pnpm@9

* Upgrade to pnpm 10.23.0

* update the dockerfile and added a few deps to bundle in remix app
2025-11-27 16:26:19 +00:00

42 lines
891 B
JavaScript

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