source: trip-planner-front/node_modules/@schematics/angular/universal/files/src/__main@stripTsExtension__.ts.template@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1003 bytes
Line 
1/***************************************************************************************************
2 * Initialize the server environment - for example, adding DOM built-in types to the global scope.
3 *
4 * NOTE:
5 * This import must come before any imports (direct or transitive) that rely on DOM built-ins being
6 * available, such as `@angular/elements`.
7 */
8import '@angular/platform-server/init';
9
10<% if (hasLocalizePackage) { %>/***************************************************************************************************
11 * Load `$localize` onto the global scope - used if i18n tags appear in Angular templates.
12 */
13import '@angular/localize/init';
14
15<% } %>import { enableProdMode } from '@angular/core';
16
17import { environment } from './environments/environment';
18
19if (environment.production) {
20 enableProdMode();
21}
22
23export { <%= rootModuleClassName %> } from './app/<%= stripTsExtension(rootModuleFileName) %>';
24export { renderModule, renderModuleFactory } from '@angular/platform-server';
Note: See TracBrowser for help on using the repository browser.