diff --git a/browser/package.json b/browser/package.json index f65e3ef46f..f1a2229ee1 100644 --- a/browser/package.json +++ b/browser/package.json @@ -10,7 +10,7 @@ "lintBrowser": "eslint ./src/**/*.{ts,tsx} ./src/*.{ts,tsx}", "lintSamples": "eslint ../samples/**/**/**/*.{ts,tsx} ./templates/**/src/*.{ts,tsx} ", "start": "gulp updateBrowser && set PORT=4200 && react-app-rewired --max_old_space_size=10240 start", - "build": "gulp updateBrowser && react-app-rewired build", + "build": "gulp updateBrowser && react-app-rewired --max_old_space_size=10240 build", "host": "set PORT=4200 && react-app-rewired --max_old_space_size=10240 start", "postbuild": "node tasks/copyWebConfig.js && gulp verifyBuild", "test": "gulp updateBrowser && react-app-rewired test --env=jsdom", diff --git a/browser/tsconfig.json b/browser/tsconfig.json index 853ed605f6..7f88dd6162 100644 --- a/browser/tsconfig.json +++ b/browser/tsconfig.json @@ -13,7 +13,7 @@ "esModuleInterop": true, "resolveJsonModule": true, "allowSyntheticDefaultImports": true, - "sourceMap": false, + "sourceMap": true, "forceConsistentCasingInFileNames": true, "jsx": "react-jsx", "baseUrl": ".", diff --git a/browser/tsconfig.prod.json b/browser/tsconfig.prod.json index 5fc69d1900..4144216dd1 100644 --- a/browser/tsconfig.prod.json +++ b/browser/tsconfig.prod.json @@ -1,6 +1,3 @@ { - "extends": "./tsconfig.json", - "compilerOptions": { - "sourceMap": false - } + "extends": "./tsconfig.json" } \ No newline at end of file