Просмотр исходного кода

[doc] specify target extension

mightyplow 6 лет назад
Родитель
Сommit
7c0acc9aec
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      README.md

+ 2 - 1
README.md

@@ -84,7 +84,8 @@ entry: {
 
 plugins: [
     new InjectAssetsPlugin({
-        // replace assets in the service worker and in the app script
+        // replace assets in the service worker and in the app script;
+        // since there would also be an app css asset, we have to specify the type here
         targets: ['serviceWorker', 'app|js']
     })
 ]