1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-28 12:35:40 +01:00

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();
}
platformBrowserDynamic().bootstrapModule(AppModule);
platformBrowserDynamic().bootstrapModule(AppModule, { preserveWhitespaces: true });
// Disable drag and drop to prevent malicious links from executing in the context of the app
document.addEventListener('dragover', (event) => event.preventDefault());

View File

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