Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: nested static in static breaks build #953

Merged
merged 1 commit into from
Sep 11, 2018

Conversation

endiliey
Copy link
Contributor

Motivation

Fix #940

If a user uses something like storybook which generates a static folder as well, docusaurus-build can break.
While this is no longer an issue in v2 implementation, we should still fix this in the current version

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Try the reproducible demo of #940

Use this PR's change

fixed

cc @daKmoR

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Sep 11, 2018
@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-preview ready!

Built with commit c2fab80

https://deploy-preview-953--docusaurus-preview.netlify.com

@endiliey
Copy link
Contributor Author

endiliey commented Sep 11, 2018

Hi @daKmoR, mind to test this out?

// package.json
"devDependencies": {
    "docusaurus": "endiliey/Docusaurus#nested-static"
}

I'll merge this after that since we are going to release 1.4 maybe today

@daKmoR
Copy link

daKmoR commented Sep 11, 2018

@endiliey awesome :) works for me :) thxxx :)

Copy link
Contributor

@yangshun yangshun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@yangshun yangshun merged commit 4a2b7cf into facebook:master Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding more complex files to static breaks the build
6 participants