浏览代码

[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']
     })
 ]