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

Possible to export to Index outside of gatsby-config.js? #19

Open
jeffzickgraf opened this issue Oct 25, 2018 · 2 comments
Open

Possible to export to Index outside of gatsby-config.js? #19

jeffzickgraf opened this issue Oct 25, 2018 · 2 comments

Comments

@jeffzickgraf
Copy link

I'm programmatically getting data to build pages from another plugin and would like to build the Algolia index after getting data from the other plugin. Is it possible to push to the index after my pages are built?

My data isn't available at the time the algolia plugin is resolved.

Seems like the query is required in the resolving of the gatsby-plugin-algolia.

@Haroenv
Copy link
Contributor

Haroenv commented Oct 26, 2018

Could you try instead putting gatsby-plugin-algolia last in your Gatsby config? I think plugins are ran sequentially.

If that doesn't work, could you please give access to a piece of code which has that issue?

@jeffzickgraf
Copy link
Author

The algolia plugin is the last already.

I just sent a private message to your hello at haroen.me address where you may find code and a couple secrets..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants