File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ class Angular2App extends BroccoliPlugin {
160160 }
161161
162162 if ( this . ngConfig . apps [ 0 ] . mobile ) {
163- var ServiceWorkerPlugin = require ( 'angular2- service-worker' ) . ServiceWorkerPlugin ;
163+ var ServiceWorkerPlugin = require ( '@angular/ service-worker' ) . ServiceWorkerPlugin ;
164164 var swTree = new ServiceWorkerPlugin ( merged ) ;
165165 merged = BroccoliMergeTrees ( [ merged , swTree ] , {
166166 overwrite : true
@@ -357,7 +357,7 @@ class Angular2App extends BroccoliPlugin {
357357 ] ;
358358
359359 if ( this . ngConfig . apps [ 0 ] . mobile ) {
360- vendorNpmFiles . push ( 'angular2- service-worker/dist/worker.js' )
360+ vendorNpmFiles . push ( '@angular/ service-worker/dist/worker.js' )
361361 }
362362
363363 if ( this . _options . vendorNpmFiles ) {
You can’t perform that action at this time.
0 commit comments