Skip to content

Commit

Permalink
fix(@nguniversal/common-engine): ReferenceError: URL is not defined
Browse files Browse the repository at this point in the history
Closes #1974
  • Loading branch information
alan-agius4 authored and kyliau committed Feb 5, 2021
1 parent 0d0254a commit 09207ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/common/engine/src/engine.ts
Expand Up @@ -9,6 +9,7 @@ import { ResourceLoader } from '@angular/compiler';
import { Compiler, CompilerFactory, NgModuleFactory, StaticProvider, Type } from '@angular/core';
import { INITIAL_CONFIG, platformDynamicServer, renderModuleFactory } from '@angular/platform-server';
import { dirname, resolve } from 'path';
import { URL } from 'url';

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

0 comments on commit 09207ad

Please sign in to comment.