Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 0dd378a

Browse files
alan-agius4Keen Yee Liau
authored andcommitted
fix(@nguniversal/common-engine): ReferenceError: URL is not defined
Closes #1974
1 parent b6fa8f5 commit 0dd378a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/common/engine/src/engine.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { ResourceLoader } from '@angular/compiler';
99
import { Compiler, CompilerFactory, NgModuleFactory, StaticProvider, Type } from '@angular/core';
1010
import { INITIAL_CONFIG, platformDynamicServer, renderModuleFactory } from '@angular/platform-server';
1111
import { dirname, resolve } from 'path';
12+
import { URL } from 'url';
1213

1314
import { FileLoader } from './file-loader';
1415
import { InlineCriticalCssProcessor } from './inline-css-processor';

0 commit comments

Comments
 (0)