refactor(router): extract Router config utils to a separate file (#38229)

This commit refactors Router package to move config utils to a separate file for better
organization and to resolve the problem with circular dependency issue.

Resolves #38212.

PR Close #38229
This commit is contained in:
Andrew Kushnir
2020-07-24 15:41:44 -07:00
committed by Michael Prentice
parent 6bf8d2b356
commit e565d97bc8
5 changed files with 120 additions and 109 deletions

View File

@ -6,8 +6,8 @@
* found in the LICENSE file at https://angular.io/license
*/
import {validateConfig} from '../src/config';
import {PRIMARY_OUTLET} from '../src/shared';
import {validateConfig} from '../src/utils/config';
describe('config', () => {
describe('validateConfig', () => {