node_modules/@angular/elements/schematics/ng-add/index.js
/** Adds a package.json dependency for document-register-element */
Adds a package.json dependency for document-register-element
Adds a package . json dependency for document - register - element
function addPolyfillDependency() {
        return function (host, context) {
            dependencies_1.addPackageJsonDependency(host, {
                type: dependencies_1.NodeDependencyType.Default,
                name: 'document-register-element',
                version: '^1.7.2',
            });
            context.logger.info('Added "document-register-element" as a dependency.');
            context.addTask(new tasks_1.NodePackageInstallTask());
        };
    }
function addPolyfillDependency ( ) { return function ( host , context ) { dependencies_1 . addPackageJsonDependency ( host , { type : dependencies_1 . NodeDependencyType . Default , name : 'document-register-element' , version : '^1.7.2' , } ) ; context . logger . info ( 'Added "document-register-element" as a dependency.' ) ; context . addTask ( new tasks_1 . NodePackageInstallTask ( ) ) ; } ; }
Adds a package.json dependency for document-register-element
Adds a package . json dependency for document - register - element
// Install the dependency