Browse Source

[doc] use file extension in target

mightyplow 6 years ago
parent
commit
20c1b96c76
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -85,7 +85,7 @@ entry: {
 plugins: [
     new InjectAssetsPlugin({
         // replace assets in the service worker and in the app script
-        targets: ['serviceWorker', 'app']
+        targets: ['serviceWorker', 'app|js']
     })
 ]
 ...