-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tsconfig.json All In One #63
Labels
Milestone
Comments
new
|
demos{
"include": [
"src/**/*",
],// ✅
"exclude": [
"tests/**/*",
],
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"jsx": "preserve",
"declaration": false,
"declarationMap": false,
"sourceMap": true,
"outDir": "./build",
"rootDir": "./", // ✅
"removeComments": true,
"downlevelIteration": true,
"isolatedModules": false,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"esModuleInterop": true,
"allowUmdGlobalAccess": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
}
}
{
"compilerOptions": {
"target": "es2016",
"lib": ["es6", "dom"],
"module": "commonjs",
"rootDir": "src",
"resolveJsonModule": true,
"allowJs": true,
"sourceMap": true,
"outDir": "dist",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitAny": true,
"skipLibCheck": true
},
"include": [
"src",
],
"exclude": [
"public/**/*",
],
}
|
https://www.typescriptlang.org/tsconfig modulehttps://www.typescriptlang.org/docs/handbook/modules.html https://www.typescriptlang.org/tsconfig#module Default:CommonJS if target is Allowed:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
tsconfig.json All In One
https://github.com/xgqfrms/vscode/blob/master/tsconfig.json
https://github.com/xgqfrms/vscode/blob/master/tsconfig.old.json
old
tsconfig.json
https://aka.ms/tsconfig.json
https://www.cnblogs.com/xgqfrms/p/14098098.html
The text was updated successfully, but these errors were encountered: