Skip to content
This repository has been archived by the owner on Nov 3, 2019. It is now read-only.

use cache instead of hardcoding path #310

Merged
merged 3 commits into from
Mar 26, 2019
Merged

use cache instead of hardcoding path #310

merged 3 commits into from
Mar 26, 2019

Conversation

mathieudutour
Copy link
Contributor

@mathieudutour mathieudutour commented Mar 15, 2019

Gatsby might introduce a way at some point to specify the .cache folder location at some point so instead of hardcoding .cache/gatsby-mdx in a bunch of places, we should use the cache object instead to be future proof

@ChristopherBiscardi
Copy link
Owner

Seems mostly ok. I need to pull it to run it locally and test it out. The gatsby-mdx prefix seems to have been removed in a couple locations, so we should add that back in.

@mathieudutour
Copy link
Contributor Author

mathieudutour commented Mar 17, 2019

The cache object already gives you a folder that is prefixed with the name of the plugin

@ChristopherBiscardi ChristopherBiscardi merged commit 1f2e720 into ChristopherBiscardi:master Mar 26, 2019
@mathieudutour mathieudutour deleted the f/use-cache branch March 26, 2019 20:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants