restore basic Angular Universal build
This commit is contained in:
11
frontend/src/main.server.ts
Normal file
11
frontend/src/main.server.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
import '@angular/localize/init';
|
||||
import { enableProdMode } from '@angular/core';
|
||||
import { environment } from './environments/environment';
|
||||
|
||||
if (environment.production) {
|
||||
enableProdMode();
|
||||
}
|
||||
|
||||
export { AppServerModule } from './app/app.server.module';
|
||||
export { renderModule } from '@angular/platform-server';
|
||||
Reference in New Issue
Block a user