소스 검색

[doc] specify target extension

mightyplow 6 년 전
부모
커밋
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']
     })
 ]