This commit is contained in:
David Nguyen
2025-02-07 00:58:50 +11:00
parent e5cc6455dd
commit 8373af3f41
34 changed files with 193 additions and 143 deletions

View File

@ -8,8 +8,6 @@ import { defineConfig, loadEnv } from 'vite';
import macrosPlugin from 'vite-plugin-babel-macros';
import tsconfigPaths from 'vite-tsconfig-paths';
import { getLoadContext } from './server/load-context';
export default defineConfig({
envDir: path.join(__dirname, '../../'),
envPrefix: '__DO_NOT_USE_OR_YOU_WILL_BE_FIRED__',
@ -54,7 +52,6 @@ export default defineConfig({
lingui(),
macrosPlugin(),
serverAdapter({
getLoadContext,
entry: 'server/index.ts',
}),
tsconfigPaths(),