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 {
|
function getElectronAppBasePath(): string {
|
||||||
return path.dirname(__dirname);
|
return path.dirname(import.meta.dirname);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getGoAppBasePath(): string {
|
function getGoAppBasePath(): string {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"include": ["frontend/**/*", "emain/**/*"],
|
"include": ["frontend/**/*", "emain/**/*"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es6",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "es2020",
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user