一个简单的 helloworld程序 只要使用 UglifyJs 就会报错配置如下main.tsimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';import { AppModule } from '.
/app.module';const platform = platformBrowserDynamic();
platform.bootstrapModule(AppModule);app.module.tsimport { NgModule } from '@angular/core';import { BrowserModule } from '@angular/platform-browser';import { MainComponent }
from './main.component';
@NgModule({
imports: [ BrowserModule ],
declarations: [ MainComponent ],
bootstrap: [ MainComponent ]
})export class AppModule {}
添加回答
举报
0/150
提交
取消