Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins shared config #207

Open
GuilleAngulo opened this issue Jun 29, 2021 · 0 comments
Open

Plugins shared config #207

GuilleAngulo opened this issue Jun 29, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@GuilleAngulo
Copy link
Collaborator

Description

When a config object is passed to a plugin, the following plugins will share same settings if no override is provided.

As example, for the following config:

[indexSearch, { outputDirectory: './public/search'], [feed], [sitemap], [socialImages]

All plugins will create files at ./public/search, instead of creating at each default output directory as the config object is shared between them. It would be necessary to find out how to pass isolated objects and if any additional changes to the structure of the plugins are required.

@GuilleAngulo GuilleAngulo added the bug Something isn't working label Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant