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

Move transformer plugins to dedicated source plugins #454

Open
hjvedvik opened this issue May 23, 2019 · 1 comment

Comments

2 participants
@hjvedvik
Copy link
Member

commented May 23, 2019

Move transformer plugins to dedicated source plugins for various file types. So instead of installing @gridsome/source-filesytem alongside a transformer you only need to install a @gridsome/source-remark plugin. The same with @gridsome/source-json or @gridsome/source-yaml etc. This will give more control to each source plugin to do what they want with the files. The @gridsome/source-filesytem plugin with existing transformers will still work, but we will not continue to improve the transformer APIs in a while. Gridsome will provide helpers for filesystem sources to find and watch files etc.

@hjvedvik hjvedvik created this issue from a note in Gridsome Roadmap (To prioritize) May 23, 2019

@hjvedvik hjvedvik added the RFC label May 23, 2019

@tomtev tomtev moved this from To prioritize to RFCs in Gridsome Roadmap May 23, 2019

@tomtev

This comment has been minimized.

Copy link
Member

commented May 23, 2019

Just an idea: Could we call source-remark for source-markdown ? I know it's powered by Remark markdown processor, but it's still a markdown source?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.