You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 2, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: readme.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,17 +9,19 @@ A [Netlify plugin](https://www.netlify.com/build/plugins-beta/) which is [publis
9
9
10
10
## Usage
11
11
12
-
This is a Netlify plugin, which will run during your Netlify builds.
13
-
As of now, Netlify plugins are in closed beta.
14
-
You can learn more about them, and apply for the beta [here](https://www.netlify.com/build/plugins-beta/).
12
+
This is a Netlify plugin, which will run during your Netlify builds. You can learn more about Netlify Build Plugins (currently in beta) in the [Netlify docs](https://docs.netlify.com/configure-builds/plugins).
15
13
16
14
The npm package name is [`netlify-plugin-cache-nextjs`](https://www.npmjs.com/package/netlify-plugin-cache-nextjs).
17
15
18
-
```yaml
19
-
plugins:
20
-
- type: netlify-plugin-cache-nextjs
16
+
To install, add the following lines to your `netlify.toml` file:
17
+
18
+
```toml
19
+
[[plugins]]
20
+
package = "netlify-plugin-cache-nextjs"
21
21
```
22
22
23
+
Note: The `[[plugins]]` line is required for each plugin, even if you have other plugins in your `netlify.toml` file already.
0 commit comments