Skip to content

Commit 339f704

Browse files
fix: bundles output commonjs instead of es2015 modules
1 parent 03a8e0d commit 339f704

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/modules/tsconfig.aot.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"target": "es5",
4-
"module": "es2015",
4+
"module": "commonjs",
55
"sourceMap": true,
66
"moduleResolution": "node",
77
"emitDecoratorMetadata": true,

src/modules/util/window/window-server.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { WindowService } from './window.service'
1010
// tslint:disable-next-line:no-class
1111
@NgModule()
1212
export class WindowServerModule {
13-
static forRoot(windowObject: any): ModuleWithProviders {
13+
static forRoot(windowObject?: any): ModuleWithProviders {
1414
return {
1515
ngModule: WindowServerModule,
1616
providers: [

0 commit comments

Comments
 (0)