UNPKG

@progress/kendo-angular-schematics

Version:

Kendo UI Schematics for Angular

26 lines (22 loc) 1.13 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createMainBootstrap = void 0; function createMainBootstrap(tree, path) { tree.create(path || '/src/main.ts', ` import { enableProdMode } from '@angular/core'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { AppModule } from './app/app.module'; import { environment } from './environments/environment'; if (environment.production) { } platformBrowserDynamic().bootstrapModule(AppModule) .catch(err => console.log(err)); `); return tree; } exports.createMainBootstrap = createMainBootstrap; //# sourceMappingURL=create-main-bootstrap.js.map