Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
a1d0591
chore: add examples
ScriptedAlchemy Feb 4, 2025
f8da5cb
feat: enhance documentation and configuration for React Router plugin
ScriptedAlchemy Feb 5, 2025
67dd4df
chore: update ignores
ScriptedAlchemy Feb 5, 2025
432afd3
fix: route feature detection
ScriptedAlchemy Feb 5, 2025
c89a7d7
fix: route feature detection
ScriptedAlchemy Feb 5, 2025
403ec8d
chore: upgrade tailwind
ScriptedAlchemy Feb 5, 2025
3f04ae3
chore: update readme
ScriptedAlchemy Feb 5, 2025
fa23fb4
feat(example): add epic stack
ScriptedAlchemy Feb 12, 2025
4d633a5
feat(example): add epic stack
ScriptedAlchemy Feb 12, 2025
27d53dd
fix(plugin): improve package.json asset handling in webpack compilation
ScriptedAlchemy Feb 13, 2025
7b63a96
chore: add .nvmrc with Node.js 22 version
ScriptedAlchemy Feb 13, 2025
602f3bb
feat(example): add epic stack
ScriptedAlchemy Feb 14, 2025
4f91a62
feat(example): add epic stack
ScriptedAlchemy Feb 14, 2025
2b3d670
Merge branch 'main' into epic-web
ScriptedAlchemy Feb 14, 2025
5489b6a
feat(example): add epic stack
ScriptedAlchemy Feb 14, 2025
a95bf32
feat(example): fix dev build structure
ScriptedAlchemy Feb 14, 2025
c6d858b
Merge branch 'main' into epic-web
ScriptedAlchemy Feb 27, 2025
dc36c30
chore: add e2e
ScriptedAlchemy Feb 27, 2025
8497ef2
chore: add test cases
ScriptedAlchemy Feb 27, 2025
909dc91
fix: tests
ScriptedAlchemy Feb 28, 2025
3120d5e
Merge branch 'main' into e2e-test
ScriptedAlchemy Feb 28, 2025
0a144ae
fix: tests
ScriptedAlchemy Feb 28, 2025
ec15936
chore: fix federation imports
ScriptedAlchemy Mar 23, 2025
40eaef0
Merge branch 'main' into e2e-test
ScriptedAlchemy Mar 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(example): add epic stack
  • Loading branch information
ScriptedAlchemy committed Feb 14, 2025
commit 4f91a62c46f7f99717a57889e1456413f941653a
8 changes: 6 additions & 2 deletions examples/epic-stack/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ sourceMapSupport.install({
},
})


if (process.env.MOCKS === 'true') {
await import('./tests/mocks/index.ts')
}

if (process.env.NODE_ENV === 'production') {
const {createApp} = (await import('./build/server/static/js/app.js')).default
createApp();

let build = (await import('./build/server/static/js/app.js'))
build = build?.default || build;
build = build?.createApp || build
build();
} else {
await import('./server/dev-server.js')
}
3 changes: 1 addition & 2 deletions examples/epic-stack/server/utils/monitoring.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import prismaInstrumentation from '@prisma/instrumentation'
import {PrismaInstrumentation} from '@prisma/instrumentation'
import * as Sentry from '@sentry/node'
import { nodeProfilingIntegration } from '@sentry/profiling-node'

// prisma's exports are wrong...
// https://github.com/prisma/prisma/issues/23410
const { PrismaInstrumentation } = prismaInstrumentation

export function init() {
Sentry.init({
Expand Down
Loading