We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50a5c7f commit d931317Copy full SHA for d931317
apps/console-v5/vite.config.ts
@@ -1,4 +1,5 @@
1
/// <reference types='vitest' />
2
+import { execSync } from 'child_process'
3
import { nxCopyAssetsPlugin } from '@nx/vite/plugins/nx-copy-assets.plugin'
4
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'
5
import { tanstackRouter } from '@tanstack/router-plugin/vite'
@@ -56,7 +57,7 @@ export default defineConfig(({ mode }) => {
56
57
host: 'localhost',
58
},
59
define: {
- 'process.env': JSON.stringify(env),
60
+ 'process.env': JSON.stringify(clientEnv),
61
62
plugins: [
63
tanstackRouter({
0 commit comments