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 */ });