Skip to content

Commit

Permalink
No sourcemap in production
Browse files Browse the repository at this point in the history
  • Loading branch information
max-lt committed Feb 19, 2024
1 parent 9cc6daa commit fc2f57f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"configurations": {
"production": {
"sourceMap": true,
"sourceMap": false,
"budgets": [
{
"type": "initial",
Expand Down Expand Up @@ -110,13 +110,13 @@
"customWebpackConfig": {
"path": "./webpack/webpack.extra.config.js"
},
"sourceMap": true,
"outputPath": "dist/server",
"tsConfig": "tsconfig.ssr.json",
"main": "prerender.ts"
},
"configurations": {
"development": {
"sourceMap": true,
"optimization": {
"styles": false,
"scripts": false
Expand All @@ -130,13 +130,13 @@
"with": "src/environments/environment.prod.ts"
}
],
"sourceMap": false,
"optimization": {
"styles": false,
"scripts": true
}
}
},
"defaultConfiguration": "production"
}
}
}
}
Expand Down

0 comments on commit fc2f57f

Please sign in to comment.