From 66cbd137d62b16bf378254d0dcc8aa123f23b659 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 13 Sep 2018 12:04:07 -0400 Subject: [PATCH] preserveWhitespaces --- src/popup/main.ts | 2 +- tsconfig.json | 23 ++++++++++++++++++----- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/src/popup/main.ts b/src/popup/main.ts index 18a6af9db70..680a77d35ee 100644 --- a/src/popup/main.ts +++ b/src/popup/main.ts @@ -11,4 +11,4 @@ if (process.env.ENV === 'production') { enableProdMode(); } -platformBrowserDynamic().bootstrapModule(AppModule); +platformBrowserDynamic().bootstrapModule(AppModule, { preserveWhitespaces: true }); diff --git a/tsconfig.json b/tsconfig.json index 46e7d48e745..41292c5ed83 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,13 +13,26 @@ ], "baseUrl": ".", "paths": { - "jslib/*": [ "jslib/src/*" ], - "@angular/*": [ "node_modules/@angular/*" ], - "angular2-toaster": [ "node_modules/angular2-toaster" ], - "angulartics2": [ "node_modules/angulartics2" ], - "node": [ "node_modules/@types/node" ] + "jslib/*": [ + "jslib/src/*" + ], + "@angular/*": [ + "node_modules/@angular/*" + ], + "angular2-toaster": [ + "node_modules/angular2-toaster" + ], + "angulartics2": [ + "node_modules/angulartics2" + ], + "node": [ + "node_modules/@types/node" + ] } }, + "angularCompilerOptions": { + "preserveWhitespaces": true + }, "exclude": [ "node_modules", "jslib/node_modules",