Skip to content

Commit 2c9a4f4

Browse files
committed
fix(build): fixed build
1 parent 6dc8b17 commit 2c9a4f4

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

apps/sim/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"version": "0.1.0",
44
"private": true,
55
"license": "Apache-2.0",
6-
"type": "module",
76
"engines": {
87
"bun": ">=1.2.13",
98
"node": ">=20.0.0"

apps/sim/vitest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import path, { resolve } from 'path'
22
/// <reference types="vitest" />
3-
import nextEnv from '@next/env'
43
import react from '@vitejs/plugin-react'
54
import { configDefaults, defineConfig } from 'vitest/config'
65

7-
const { loadEnvConfig } = nextEnv
6+
const nextEnv = require('@next/env')
7+
const { loadEnvConfig } = nextEnv.default || nextEnv
88

99
const projectDir = process.cwd()
1010
loadEnvConfig(projectDir)

0 commit comments

Comments
 (0)