Here is the content of my tsconfig.json file:
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": false,
"outDir": "wwwroot/app/source/"
},
"exclude": [
"node_modules",
"bower_components",
"wwwroot",
"typings/main",
"typings/main.d.ts"
]
}
The setting for sourceMap is currently true, as I need it for debugging purposes.
However, I only require the sourceMap option to be enabled during debug mode. For release mode when running my gulp script, I would like to set it to false.
Is there a way to enforce --sourceMap=false in my configuration?