From edd7a0c2ec4379fbb9efc2ef9d864da1acb581f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=27rysiek=27=20Wo=C5=BAniak?= Date: Sat, 28 Jan 2023 18:07:14 +0000 Subject: [PATCH] QUICKSTART: narray typo --- docs/QUICKSTART.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/QUICKSTART.md b/docs/QUICKSTART.md index 13a8185..220e4ab 100644 --- a/docs/QUICKSTART.md +++ b/docs/QUICKSTART.md @@ -61,7 +61,7 @@ Let's unpack this: - The `plugins` key contains an array of objects.\ Each object defines configuration for a plugin. For simplest plugins, the minimal configuration is just the name of the plugin. Based on the name `service-worker.js` establishes which file to load for a given plugin — in this case, it will be `./plugins/fetch/index.js` (relative to where `service-worker.js` script is located). - - The `loggedComponents` key is a narray of strings.\ + - The `loggedComponents` key is an array of strings.\ It lists the components whose logs should be visible in the deveoper console in the browser. The `service-worker.js` script logs messages as the "service-worker" component, the `fetch` plugin as (you guessed it!) "fetch".\ We want the log messages visible for both of them, just so that we know what's going on. In a production environment we would perhaps want to limit the log messages to only some components.