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

Add empty redirects.json #8268

Merged
merged 1 commit into from
Sep 18, 2018
Merged

Add empty redirects.json #8268

merged 1 commit into from
Sep 18, 2018

Conversation

ascorbic
Copy link
Contributor

Add an empty redirects.json file to cache-dir. Currently the build is breaking for some test scenarios - particularly Storybooks - as it is trying to load redirects.json from the cache-dir in node_modules, rather than the one generated in .cache at build time. There was previously a similar problem with pages.json which was fixed in the same way. I'm not sure why this problem recently manifested, but this small fix solves it.

@pieh
Copy link
Contributor

pieh commented Sep 18, 2018

We've done some shuffling in imports, so maybe that caused problem with redirects.json - anyway I think it's ok to merge it

Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

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

Thanks!

@pieh pieh merged commit 568fb2f into gatsbyjs:master Sep 18, 2018
@ascorbic ascorbic deleted the add-empty-redirects branch September 19, 2018 08:17
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.

2 participants