Parcourir la source

[doc] use file extension in target

mightyplow il y a 6 ans
Parent
commit
20c1b96c76
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      README.md

+ 1 - 1
README.md

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