mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
fix(build): fixed build
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"license": "Apache-2.0",
|
||||
"type": "module",
|
||||
"engines": {
|
||||
"bun": ">=1.2.13",
|
||||
"node": ">=20.0.0"
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import path, { resolve } from 'path'
|
||||
/// <reference types="vitest" />
|
||||
import nextEnv from '@next/env'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { configDefaults, defineConfig } from 'vitest/config'
|
||||
|
||||
const { loadEnvConfig } = nextEnv
|
||||
const nextEnv = require('@next/env')
|
||||
const { loadEnvConfig } = nextEnv.default || nextEnv
|
||||
|
||||
const projectDir = process.cwd()
|
||||
loadEnvConfig(projectDir)
|
||||
|
||||
Reference in New Issue
Block a user