Skip to content

Commit cd9d4fb

Browse files
authored
Merge pull request #126 from netlify/add-plugins-to-netlify-toml
Add plugin package names to netlify.toml
2 parents d55e552 + 10a3928 commit cd9d4fb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ntoml/netlify_toml.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ type BuildConfig struct {
4242
Publish string `toml:"publish" json:"publish" yaml:"publish"`
4343
Ignore string `toml:"ignore" json:"ignore" yaml:"ignore"`
4444
Environment map[string]string `toml:"environment" json:"environment" yaml:"environment"`
45+
Plugins []Plugin `toml:"plugins" json:"plugins" yaml:"plugins"`
46+
}
47+
48+
type Plugin struct {
49+
Package string `toml:"package" json:"package" yaml:"package"`
4550
}
4651

4752
type DeployContext struct {

0 commit comments

Comments
 (0)