preserveWhitespaces

This commit is contained in:
Kyle Spearrin 2018-09-13 12:04:04 -04:00
parent 7ef070b411
commit 6a047a976d
2 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,7 @@ if (!isDev()) {
enableProdMode(); enableProdMode();
} }
platformBrowserDynamic().bootstrapModule(AppModule); platformBrowserDynamic().bootstrapModule(AppModule, { preserveWhitespaces: true });
// Disable drag and drop to prevent malicious links from executing in the context of the app // Disable drag and drop to prevent malicious links from executing in the context of the app
document.addEventListener('dragover', (event) => event.preventDefault()); document.addEventListener('dragover', (event) => event.preventDefault());

View File

@ -37,6 +37,9 @@
] ]
} }
}, },
"angularCompilerOptions": {
"preserveWhitespaces": true
},
"exclude": [ "exclude": [
"node_modules", "node_modules",
"jslib/node_modules", "jslib/node_modules",