Skip to content

fix(v2): pass images in static dir to webpack-loader - #3283

Merged
slorber merged 5 commits into
meta:masterfrom
MLH-Fellowship:anshul/static_img
Aug 14, 2020
Merged

slorber merged 5 commits into
meta:masterfrom
MLH-Fellowship:anshul/static_img

Conversation

@anshulrgoyal

Copy link
Copy Markdown
Contributor

Motivation

Fixes #3278.

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

By adding tests and dog food.

@anshulrgoyal
anshulrgoyal requested a review from yangshun as a code owner August 14, 2020 15:15
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Aug 14, 2020
@anshulrgoyal anshulrgoyal changed the title pass static images to webpack-loader fix(v2): pass images in static dir to webpack-loader Aug 14, 2020
@docusaurus-bot

Copy link
Copy Markdown
Contributor

@docusaurus-bot

docusaurus-bot commented Aug 14, 2020 •

Copy link
Copy Markdown
Contributor

@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Aug 14, 2020
@slorber

slorber commented Aug 14, 2020

Copy link
Copy Markdown
Collaborator

thanks :)

@slorber
slorber merged commit 12e9ff6 into meta:master Aug 14, 2020
@slorber

slorber commented Aug 17, 2020

Copy link
Copy Markdown
Collaborator

Hey @anshulrgoyal , can you check if this works for regular static assets (non images) too with baseUrl? I think we don't handle that yet

mrizwanashiq pushed a commit to mrizwanashiq/docusaurus that referenced this pull request Jun 25, 2026
* pass static images to webpack-loader

* remove console.log

* fix windows path issue

* fix windows path issue

* add missing deps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: Prepend base url to absolute markdown links

4 participants