[Resolved] [Security] Environment file is visible in both production and development. (#77)
This commit is contained in:
49
tsconfig.prod.json
Normal file
49
tsconfig.prod.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
|
||||
"compilerOptions": {
|
||||
"types": ["reflect-metadata"],
|
||||
"allowSyntheticDefaultImports": true, // see below
|
||||
"baseUrl": "./src/", // enables you to import relative to this folder
|
||||
"paths": {
|
||||
"src/*": ["*"],
|
||||
"core/*": ["core/*"],
|
||||
"routes/*": ["routes/*"],
|
||||
"data/*": ["data/*"],
|
||||
"components/*": ["components/*"],
|
||||
"store/*": ["store/*"],
|
||||
"api/*": ["api/*"],
|
||||
"layouts/*": ["layouts/*"],
|
||||
"models/*": ["models/*"]
|
||||
},
|
||||
"outDir": "build/dist",
|
||||
"module": "esnext",
|
||||
"target": "es5",
|
||||
"lib": ["es7", "dom"],
|
||||
"sourceMap": true,
|
||||
"allowJs": true,
|
||||
"jsx": "react",
|
||||
"moduleResolution": "node",
|
||||
"rootDir": "src",
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noImplicitReturns": false,
|
||||
"noImplicitThis": true,
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": true,
|
||||
"suppressImplicitAnyIndexErrors": true,
|
||||
"noUnusedLocals": false,
|
||||
"experimentalDecorators": true
|
||||
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"build",
|
||||
"scripts",
|
||||
"acceptance-tests",
|
||||
"webpack",
|
||||
"jest",
|
||||
"src/setupTests.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user