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

Algorithm for Globbing Files #5

Open
ChristopherBiscardi opened this issue Jan 3, 2016 · 0 comments
Open

Algorithm for Globbing Files #5

ChristopherBiscardi opened this issue Jan 3, 2016 · 0 comments
Labels

Comments

@ChristopherBiscardi
Copy link
Member

Currently, we just scoop everything in data up by doing

glob(`${conf.dataPath}/**/*`, ...)

Should we allow plugins to define the file extensions that they handle (for globbing; They can already do this for mapping to loaders)?


Step 1: Find a use case that requires excluding some files.

Possible use cases include:

  • React Component instead of markdown file for page content.
  • gitbook support?
    • it seems like this could be solved by having a gitbook config file in ^data/ and the actual gitbook contents in ^gitbook-whatever/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant