hunk.code_window:     // Load the Webpack plugin for manifest generation and install it.
       const AngularServiceWorkerPlugin = require('@angular/service-worker/build/webpack')
           .AngularServiceWorkerPlugin;
       extraPlugins.push(new AngularServiceWorkerPlugin());
       // Copy the worker script into assets.
       const workerContents = fs.readFileSync(workerPath).toString();
       extraPlugins.push(new StaticAssetPlugin('worker-basic.min.js', workerContents));
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:     extraPlugins.push(new AngularServiceWorkerPlugin({
         baseHref: buildOptions.baseHref || '/',
       }));
  
hunk.file_path: packages/@angular/cli/models/webpack-configs/production.ts
hunk.type: replace
file: <!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. -->
  
  # ng generate directive
  
  ## Overview
  `ng generate directive [name]` generates a directive
  
  ## Options
  `--flat` flag to indicate if a dir is created
  
  `--prefix` specifies whether to use the prefix
  
  `--spec` specifies if a spec file is generated
  
  `--skip-import` allows for skipping the module import
  
  `--module` (`-m`) allows specification of the declaring module
  
  `--export` specifies if declaring module exports the directive
  