mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build: resolve build issues
This commit is contained in:
parent
992046ec8d
commit
95edc70f4e
2 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import fetch from 'node-fetch'
|
||||
import { createCodeHandler } from '.'
|
||||
|
||||
const { GITEE_OAUTH_CLIENT_ID, GITEE_OAUTH_CLIENT_SECRET } = process.env
|
||||
const { GITEE_OAUTH_CLIENT_ID = '', GITEE_OAUTH_CLIENT_SECRET = '' } = process.env
|
||||
|
||||
async function oauth(code: string) {
|
||||
const params = new URLSearchParams({
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
// "composite": true, /* Enable project compilation */
|
||||
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
|
||||
// "removeComments": true, /* Do not emit comments to output. */
|
||||
// "noEmit": true, /* Do not emit outputs. */
|
||||
"noEmit": true /* Do not emit outputs. */,
|
||||
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
|
||||
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
|
||||
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
|
||||
|
|
@ -60,5 +60,5 @@
|
|||
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
|
||||
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
|
||||
},
|
||||
"include": ["src"]
|
||||
"include": ["api"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue