mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-21 08:31:58 +00:00
fix: build and config
This commit is contained in:
parent
9320111dac
commit
1400abb6a9
3 changed files with 11 additions and 2 deletions
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
|
|
@ -32,6 +32,9 @@ jobs:
|
||||||
node-version: '16'
|
node-version: '16'
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
|
||||||
|
- name: Enter Electron
|
||||||
|
run: cd electron
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,10 @@
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"allowSyntheticDefaultImports": true
|
"allowSyntheticDefaultImports": true,
|
||||||
|
"paths": {
|
||||||
|
"@/*": ["./common/*"],
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules/**", "**/node_modules", "dist", "build"]
|
"exclude": ["node_modules/**", "**/node_modules", "dist", "build"]
|
||||||
}
|
}
|
||||||
|
|
@ -4,7 +4,10 @@
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"allowSyntheticDefaultImports": true
|
"allowSyntheticDefaultImports": true,
|
||||||
|
"paths": {
|
||||||
|
"@/*": ["./common/*"],
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules/**", "**/node_modules", "dist", "build"]
|
"exclude": ["node_modules/**", "**/node_modules", "dist", "build"]
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue