File tree Expand file tree Collapse file tree 2 files changed +21
-5
lines changed
examples/epic-stack/app/routes/_auth+ Expand file tree Collapse file tree 2 files changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ export default defineConfig(() => {
4141 pluginReactRouter ({
4242 // Optional: Enable custom server mode
4343 customServer: false ,
44+ // Optional: Specify server output format
45+ serverOutput: " commonjs" ,
46+ // Optional: enable experimental support for module federation
47+ federation: false
4448 }),
4549 pluginReact ()
4650 ],
@@ -60,7 +64,19 @@ pluginReactRouter({
6064 * Enable this when you want to handle server setup manually.
6165 * @default false
6266 */
63- customServer?: boolean
67+ customServer?: boolean ,
68+
69+ /**
70+ * Specify the output format for server-side code.
71+ * Options: "commonjs" | "module"
72+ * @default " module"
73+ */
74+ serverOutput?: " commonjs" | " module"
75+ /**
76+ * Enable experimental support for module federation
77+ * @default false
78+ */
79+ federation ?: boolean
6480})
6581```
6682
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ import { type SEOHandle } from '@nasa-gcn/remix-seo'
44import { data , Form , Link , useSearchParams } from 'react-router'
55import { HoneypotInputs } from 'remix-utils/honeypot/react'
66import { z } from 'zod'
7- import { GeneralErrorBoundary } from 'remote /components/error-boundary'
8- import { CheckboxField , ErrorList , Field } from 'remote /components/forms'
9- import { Spacer } from 'remote /components/spacer'
10- import { StatusButton } from 'remote /components/ui/status-button'
7+ import { GeneralErrorBoundary } from '#app /components/error-boundary'
8+ import { CheckboxField , ErrorList , Field } from '#app /components/forms'
9+ import { Spacer } from '#app /components/spacer'
10+ import { StatusButton } from '#app /components/ui/status-button'
1111import { login , requireAnonymous } from '#app/utils/auth.server.ts'
1212import {
1313 ProviderConnectionForm ,
You can’t perform that action at this time.
0 commit comments