gatsby-plugin-lunr
gatsby-plugin-lunr copied to clipboard
Plugins not registered on client side
Hi,
It doesn’t look like plug-ins are being registered on the client side. When attempting to use a pipelineFunction, I get an error that the plugin is not registered.
I think we need to add a step in gatsby-browser.js. Something like
languages.forEach(({plugins}) => plugins?.forEach(p => p(lunr)))
What do you think? Or am I missing something?