mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
fix dirname issue
This commit is contained in:
parent
f0e7babec4
commit
822920bd2c
@ -41,7 +41,7 @@ function getWaveHomeDir() {
|
||||
}
|
||||
|
||||
function getElectronAppBasePath(): string {
|
||||
return path.dirname(__dirname);
|
||||
return path.dirname(import.meta.dirname);
|
||||
}
|
||||
|
||||
function getGoAppBasePath(): string {
|
||||
|
@ -2,7 +2,7 @@
|
||||
"include": ["frontend/**/*", "emain/**/*"],
|
||||
"compilerOptions": {
|
||||
"target": "es6",
|
||||
"module": "commonjs",
|
||||
"module": "es2020",
|
||||
"jsx": "preserve",
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
|
Loading…
Reference in New Issue
Block a user