mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
moving name out of file, will mirror file system name
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
import { loadEnvConfig } from "@next/env";
|
||||
import nextEnv from "@next/env";
|
||||
import { defineConfig } from "vitest/config";
|
||||
import react from "@vitejs/plugin-react";
|
||||
|
||||
loadEnvConfig(process.cwd());
|
||||
// hack from https://github.com/vercel/next.js/issues/68091
|
||||
if (nextEnv && "loadEnvConfig" in nextEnv) {
|
||||
nextEnv.loadEnvConfig(process.cwd());
|
||||
} else {
|
||||
// eslint-disable-next-line
|
||||
require("@next/env").loadEnvConfig(process.cwd());
|
||||
}
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
|
||||
Reference in New Issue
Block a user