Sfoglia il codice sorgente

[doc] specify target extension

mightyplow 6 anni fa
parent
commit
7c0acc9aec
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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']
     })
 ]