diff --git a/remix.config.ts b/remix.config.ts index 00bc0e9..dc93ba7 100644 --- a/remix.config.ts +++ b/remix.config.ts @@ -4,4 +4,27 @@ export default { ignoredRouteFiles: ["**/.*"], serverDependenciesToBundle: ["mdx-bundler"], tailwind: true, + browserNodeBuiltinsPolyfill: { + modules: { + path: true, + fs: true, + vm: true, + util: true, + buffer: true, + string_decoder: true, + events: true, + os: true, + crypto: true, + http: true, + child_process: true, + https: true, + url: true, + net: true, + tls: true, + assert: true, + stream: true, + zlib: true, + punycode: true, + }, + }, } satisfies AppConfig;