Open shavidzet opened 3 years ago
I think, this should be optional, because can't test pixel without build whole project. https://github.com/gabefromutah/gatsby-plugin-facebook-pixel/blob/abe59561d913e5086f379093410032966a438a1b/src/gatsby-ssr.js#L4
Happy to accept a PR. Any ideas on how to accomplish this?
So instead of sticking on prod env, I decided to have enable boolean property for plugin option, implemented in #13
enable
I think, this should be optional, because can't test pixel without build whole project. https://github.com/gabefromutah/gatsby-plugin-facebook-pixel/blob/abe59561d913e5086f379093410032966a438a1b/src/gatsby-ssr.js#L4