diff --git a/typescript/base.json b/typescript/base.json index 078dced..b2b9150 100644 --- a/typescript/base.json +++ b/typescript/base.json @@ -28,7 +28,7 @@ "declaration": true, "declarationMap": true, - "sourceMap": false, + "sourceMap": true, "esModuleInterop": true, "skipLibCheck": true, diff --git a/typescript/production.json b/typescript/production.json new file mode 100644 index 0000000..71fa10c --- /dev/null +++ b/typescript/production.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "display": "@lilith/configs - Production Overrides", + "_description": "Extend alongside any base config to disable source maps in production builds. Usage: { \"extends\": [\"./react.json\", \"./production.json\"] }", + "compilerOptions": { + "sourceMap": false, + "declarationMap": false + } +}