Skip to content

fix: remove duplicate gatsby-transformer-asciidoc plugin#548

Open
hassaansaleem28 wants to merge 3 commits intojenkins-infra:mainfrom
hassaansaleem28:fix/remove-duplicate-gatsby-plugin
Open

fix: remove duplicate gatsby-transformer-asciidoc plugin#548
hassaansaleem28 wants to merge 3 commits intojenkins-infra:mainfrom
hassaansaleem28:fix/remove-duplicate-gatsby-plugin

Conversation

@hassaansaleem28
Copy link
Copy Markdown
Contributor

Description

gatsby-transformer-asciidoc was registered twice in gatsby-config.js — once as a bare string (with no options) and once as an object with the required imagesdir attribute. This caused the plugin to be loaded twice — first without the imagesdir configuration .

Fixes

Fixes: #532

Screenshots (if applicable)

Checklist

  • PR title is clear and descriptive
  • Changes follow project conventions
  • No unrelated changes included
  • Documentation updated if needed

Additional Context

BEFORE :

info Total nodes: 171 verbose Number of node types: 8. Nodes per type: Asciidoc: 33, Directory: 10, File: 51, ImageSharp: 1, Site: 1, SiteBuildMetadata: 1, SitePage: 37, SitePlugin: 37

AFTER:

info Total nodes: 170 verbose Number of node types: 8. Nodes per type: Asciidoc: 33, Directory: 10, File: 51, ImageSharp: 1, Site: 1, SiteBuildMetadata: 1, SitePage: 37, SitePlugin: 36

Signed-off-by: Muhammad Hassaan Saleem <iamhassaans@gmail.com>
@hassaansaleem28 hassaansaleem28 requested a review from a team as a code owner March 12, 2026 07:36
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

Successfully merging this pull request may close these issues.

Duplicate "gatsby-transformer-asciidoc" in "gatsby-config.js"

2 participants