How to disable inline CSS source maps
up vote
1
down vote
favorite
I have recently published my website as server rendered (with transition) and I used https://gtmetrix.com to analyse it, one of the warnings was: "Minify HTML" and then I noticed there was tons of CSS sourcemaps as inline data URLs.
I have no idea how to remove them, I already call enableProdMode()
in my server.ts
angular-universal
add a comment |
up vote
1
down vote
favorite
I have recently published my website as server rendered (with transition) and I used https://gtmetrix.com to analyse it, one of the warnings was: "Minify HTML" and then I noticed there was tons of CSS sourcemaps as inline data URLs.
I have no idea how to remove them, I already call enableProdMode()
in my server.ts
angular-universal
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have recently published my website as server rendered (with transition) and I used https://gtmetrix.com to analyse it, one of the warnings was: "Minify HTML" and then I noticed there was tons of CSS sourcemaps as inline data URLs.
I have no idea how to remove them, I already call enableProdMode()
in my server.ts
angular-universal
I have recently published my website as server rendered (with transition) and I used https://gtmetrix.com to analyse it, one of the warnings was: "Minify HTML" and then I noticed there was tons of CSS sourcemaps as inline data URLs.
I have no idea how to remove them, I already call enableProdMode()
in my server.ts
angular-universal
angular-universal
asked Nov 9 at 10:56
YoukouleleY
2,0621720
2,0621720
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Found answer by searching into JSON schema into ./node_modules/@angular/cli/lib/config/schema.json
since documentation doesn't mention it:
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist/server",
"main": "src/main.server.ts",
"tsConfig": "src/tsconfig.server.json",
"sourceMap": false
},
...
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Found answer by searching into JSON schema into ./node_modules/@angular/cli/lib/config/schema.json
since documentation doesn't mention it:
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist/server",
"main": "src/main.server.ts",
"tsConfig": "src/tsconfig.server.json",
"sourceMap": false
},
...
add a comment |
up vote
1
down vote
accepted
Found answer by searching into JSON schema into ./node_modules/@angular/cli/lib/config/schema.json
since documentation doesn't mention it:
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist/server",
"main": "src/main.server.ts",
"tsConfig": "src/tsconfig.server.json",
"sourceMap": false
},
...
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Found answer by searching into JSON schema into ./node_modules/@angular/cli/lib/config/schema.json
since documentation doesn't mention it:
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist/server",
"main": "src/main.server.ts",
"tsConfig": "src/tsconfig.server.json",
"sourceMap": false
},
...
Found answer by searching into JSON schema into ./node_modules/@angular/cli/lib/config/schema.json
since documentation doesn't mention it:
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist/server",
"main": "src/main.server.ts",
"tsConfig": "src/tsconfig.server.json",
"sourceMap": false
},
...
answered Nov 10 at 14:34
YoukouleleY
2,0621720
2,0621720
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53224374%2fhow-to-disable-inline-css-source-maps%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password