mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-22 15:02:11 +08:00
Currently when using `ivy-ngcc` it will print out a warning ``` Failed to read entry point info from //node_modules/@schematics/angular/workspace/files/package.json with error SyntaxError: Unexpected token < in JSON at position 1121. ``` Fixes #13378
19 lines
447 B
Plaintext
19 lines
447 B
Plaintext
import { BrowserModule } from '@angular/platform-browser';
|
|
import { NgModule } from '@angular/core';
|
|
<% if (routing) { %>
|
|
import { AppRoutingModule } from './app-routing.module';<% } %>
|
|
import { AppComponent } from './app.component';
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
AppComponent
|
|
],
|
|
imports: [
|
|
BrowserModule<% if (routing) { %>,
|
|
AppRoutingModule<% } %>
|
|
],
|
|
providers: [],
|
|
bootstrap: [AppComponent]
|
|
})
|
|
export class AppModule { }
|