You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow an ergonomic way to filter plugins between dev & prod. We were asked to open an issue about this in Discord - ref gulpjs/gulpjs.github.io#123 (comment)
This became invalid in a more recent alpha version that we are upgrading into because those resolve to false in development.
Pitch
I think it is fairly common that people will want to have some plugins they don't want active during development (e.g. carbon-ads plugin) and they will want a concise way to filter those out.
The text was updated successfully, but these errors were encountered:
phated
added
feature
This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
status: needs triage
This issue has not been triaged by maintainers
labels
Oct 30, 2020
馃殌 Feature
Allow an ergonomic way to filter plugins between dev & prod. We were asked to open an issue about this in Discord - ref gulpjs/gulpjs.github.io#123 (comment)
Have you read the Contributing Guidelines on issues?
Yes.
Motivation
For gulp's website, we want to have a series of plugins that are only applied at production-build time (analytics, gtag, sitemap, etc).
We are currenly doing it with this code, on an old 2-alpha version:
This became invalid in a more recent alpha version that we are upgrading into because those resolve to
false
in development.Pitch
I think it is fairly common that people will want to have some plugins they don't want active during development (e.g. carbon-ads plugin) and they will want a concise way to filter those out.
The text was updated successfully, but these errors were encountered: