Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
smallfix
Browse files Browse the repository at this point in the history
  • Loading branch information
isoppp committed Sep 7, 2024
1 parent 482df65 commit 67a7ba7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ app.use((req, res, next) => {
async function getBuild() {
const build = viteDevServer
? await viteDevServer.ssrLoadModule('virtual:remix/server-build')
: await import('../build/server/index.js')
: // @ts-ignore this should exist before running the server in production
await import('../build/server/index.js')
return build as unknown as ServerBuild
}

Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"allowJs": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"allowImportingTsExtensions": true, // added
"baseUrl": ".",
"paths": {
"@/*": ["./app/*"]
Expand Down

0 comments on commit 67a7ba7

Please sign in to comment.