mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
test(angular): add support for multi-version testing (#25665)
This commit is contained in:
10
angular/test/base/src/main.server.ts
Normal file
10
angular/test/base/src/main.server.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { enableProdMode } from '@angular/core';
|
||||
|
||||
import { environment } from './environments/environment';
|
||||
|
||||
if (environment.production) {
|
||||
enableProdMode();
|
||||
}
|
||||
|
||||
export { AppServerModule } from './app/app.server.module';
|
||||
export { renderModule, renderModuleFactory } from '@angular/platform-server';
|
Reference in New Issue
Block a user