Skip to content

Commit

Permalink
always load from the file path
Browse files Browse the repository at this point in the history
  • Loading branch information
rotorsoft committed Aug 12, 2024
1 parent 039418b commit 4a82045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/commonwealth/client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function createScriptsResolver(folder: string): Alias {

// https://vitejs.dev/config/
export default defineConfig(({ mode }) => {
const envPath = path.dirname(path.dirname(process.cwd())); // root project .env
const envPath = path.dirname(path.dirname(projectRootDir)); // root project .env
const env = loadEnv(mode, envPath, '');

const unleashConfig = {
Expand Down

0 comments on commit 4a82045

Please sign in to comment.