Unverified Commit 3b2ee1e0 authored by Jeremy Douglas Hoover's avatar Jeremy Douglas Hoover Committed by GitHub

docs: Fix typo on strategy for next/script. (#51189)

parent 4ae8bc7d
......@@ -196,7 +196,7 @@ Examples of scripts that do not need to load immediately and can be fetched with
Scripts that use the `worker` strategy are off-loaded to a web worker in order to free up the main thread and ensure that only critical, first-party resources are processed on it. While this strategy can be used for any script, it is an advanced use case that is not guaranteed to support all third-party scripts.
To use `worker` as a stratgy, the `nextScriptWorkers` flag must be enabled in `next.config.js`:
To use `worker` as a strategy, the `nextScriptWorkers` flag must be enabled in `next.config.js`:
```js filename="next.config.js"
module.exports = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment