mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
Default to including source maps, but remove in production
Angular was configured to not generate source maps by default, but to do it in production. This seems exactly backwards---I don't want source maps in production (to save space), but do wants them during development
This commit is contained in:
parent
6013403d03
commit
4f8b75dec3
1 changed files with 7 additions and 22 deletions
29
angular.json
29
angular.json
|
|
@ -32,14 +32,8 @@
|
|||
"polyfills": "src/polyfills.ts",
|
||||
"tsConfig": "src/tsconfig.app.json",
|
||||
"preserveSymlinks": true,
|
||||
"assets": [
|
||||
"src/favicon.ico",
|
||||
"src/assets",
|
||||
"src/manifest.json"
|
||||
],
|
||||
"styles": [
|
||||
"src/styles.scss"
|
||||
],
|
||||
"assets": ["src/favicon.ico", "src/assets", "src/manifest.json"],
|
||||
"styles": ["src/styles.scss"],
|
||||
"scripts": [],
|
||||
"webWorkerTsConfig": "src/tsconfig.worker.json"
|
||||
},
|
||||
|
|
@ -60,7 +54,7 @@
|
|||
],
|
||||
"optimization": true,
|
||||
"outputHashing": "all",
|
||||
"sourceMap": true,
|
||||
"sourceMap": false,
|
||||
"extractCss": true,
|
||||
"namedChunks": false,
|
||||
"aot": true,
|
||||
|
|
@ -84,7 +78,7 @@
|
|||
],
|
||||
"optimization": true,
|
||||
"outputHashing": "all",
|
||||
"sourceMap": true,
|
||||
"sourceMap": false,
|
||||
"extractCss": true,
|
||||
"namedChunks": false,
|
||||
"aot": true,
|
||||
|
|
@ -169,24 +163,15 @@
|
|||
"tsConfig": "src/tsconfig.spec.json",
|
||||
"preserveSymlinks": true,
|
||||
"karmaConfig": "src/karma.conf.js",
|
||||
"styles": [
|
||||
"src/styles.scss"
|
||||
],
|
||||
"styles": ["src/styles.scss"],
|
||||
"scripts": [],
|
||||
"assets": [
|
||||
"src/favicon.ico",
|
||||
"src/assets",
|
||||
"src/manifest.json"
|
||||
]
|
||||
"assets": ["src/favicon.ico", "src/assets", "src/manifest.json"]
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"builder": "@angular-eslint/builder:lint",
|
||||
"options": {
|
||||
"lintFilePatterns": [
|
||||
"src/**/*.ts",
|
||||
"src/**/*.html"
|
||||
]
|
||||
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue