Browse Source

[doc] use file extension in target

mightyplow 6 năm trước cách đây
mục cha
commit
20c1b96c76
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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']
     })
 ]
 ...