From 4b90d93ab2bcc041383238e3cd609dd6b7cadcd9 Mon Sep 17 00:00:00 2001 From: Joao Garin Date: Wed, 15 Mar 2017 19:24:30 +0100 Subject: [PATCH] docs(worker): Fix webpack integration info --- service-worker/worker/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service-worker/worker/README.md b/service-worker/worker/README.md index 38053ba..6e9a3cb 100644 --- a/service-worker/worker/README.md +++ b/service-worker/worker/README.md @@ -213,7 +213,7 @@ If instead of Gulp, you use Webpack to build your project, the service worker al import {AngularServiceWorkerPlugin} from '@angular/service-worker/build/webpack'; // or - const AngularServiceWorkerPlugin = require('@angular/service-worker/webpack'); + const AngularServiceWorkerPlugin = require('@angular/service-worker/webpack').default; webpack({ entry: 'index.js', @@ -227,6 +227,6 @@ If instead of Gulp, you use Webpack to build your project, the service worker al new CopyWebpackPlugin([ {from: 'ngsw-manifest.json'}, ]), - new AngularServiceWorkerPlugion(), + new AngularServiceWorkerPlugin(), ], }, () => { /* done */ });