Explorar el Código

[doc] specify target extension

mightyplow hace 6 años
padre
commit
7c0acc9aec
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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']
     })
 ]