Skip to content

Commit 70a8a5e

Browse files
Fix root dir name for aliasing (#62)
1 parent 0c6fd68 commit 70a8a5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { resolve } from 'path'
1616
const extraPlugins: PluginOption[] = [];
1717

1818
const GITHUB_RUNTIME_PERMANENT_NAME = process.env.GITHUB_RUNTIME_PERMANENT_NAME || process.env.CODESPACE_NAME?.substring(0, 20);
19-
const projectRoot = process.env.PROJECT_ROOT || "/workspaces/spark-template"
19+
const projectRoot = process.env.PROJECT_ROOT || import.meta.dirname
2020

2121
// https://vite.dev/config/
2222
export default defineConfig({

0 commit comments

Comments
 (0)