Skip to content

Commit

Permalink
Merge branch 'dev' into CW-firebase-caching-settings
Browse files Browse the repository at this point in the history
  • Loading branch information
MeyerPV committed Jun 21, 2024
2 parents ef49977 + 99c31f8 commit 3b21ac7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
11 changes: 11 additions & 0 deletions craco.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
const CracoAlias = require("craco-alias");

module.exports = {
webpack: {
configure: (webpackConfig, { env, paths }) => {
const reactAppEnv = process.env.REACT_APP_ENV;
if (reactAppEnv === "dev" || reactAppEnv === "stage") {
webpackConfig.devtool = "source-map";
} else {
webpackConfig.devtool = false;
}
return webpackConfig;
},
},
style: {
css: {
loaderOptions: () => ({
Expand Down
6 changes: 3 additions & 3 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"short_name": "Common.io",
"name": "Common.io",
"icons": [
{
"src": "favicon.ico",
Expand Down Expand Up @@ -38,7 +38,7 @@
"sizes": "512x512"
}
],
"start_url": ".",
"start_url": "./inbox",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"sourceMap": true,
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
Expand Down

0 comments on commit 3b21ac7

Please sign in to comment.