Files
triggerdotdev--trigger.dev/apps/webapp/remix.config.js
T
Eric Allam 8471169b30 Fix various dependabot alerts (#2063)
* Upgrade posthog-node to clear axios vulns

* Upgrade @slack/web-api to use a secure version of axios

* Update parse-duration to fix security vulns

* Mitigate against the ws DoS vuln

* Upgrade body-parser to 1.20.3 in the webapp

* Upgrade react-use to 17.5.1 to remove the fast-loops transitive dep

* Remove unused babel dev deps and config file that's no longer used

* Upgrade prismjs to 1.30.0 and bundle parse-duration now

* upgrade express to 4.20.0 to fix issue with XSS when redirecting

* Upgrade @conform/zod to 0.9.2
2025-05-19 12:01:51 +01:00

31 lines
777 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",
"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 } },
};