From 14f787ad730b103b8052224a0e06aa161a6ca703 Mon Sep 17 00:00:00 2001
From: Alan Agius <alan.agius4@gmail.com>
Date: Fri, 28 Sep 2018 16:33:03 +0200
Subject: [PATCH] refactor: remove code that was needed for `eject`

---
 .../src/angular-cli-files/models/webpack-configs/common.ts   | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/common.ts b/packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/common.ts
index 5bf3b61b4849..9be395734d5e 100644
--- a/packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/common.ts
+++ b/packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/common.ts
@@ -150,11 +150,6 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
 
     const copyWebpackPluginInstance = new CopyWebpackPlugin(copyWebpackPluginPatterns,
       copyWebpackPluginOptions);
-
-    // Save options so we can use them in eject.
-    (copyWebpackPluginInstance as any)['copyWebpackPluginPatterns'] = copyWebpackPluginPatterns;
-    (copyWebpackPluginInstance as any)['copyWebpackPluginOptions'] = copyWebpackPluginOptions;
-
     extraPlugins.push(copyWebpackPluginInstance);
   }