Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Custom File Match #33

Open
fredboyle opened this issue Aug 23, 2019 · 0 comments
Open

Custom File Match #33

fredboyle opened this issue Aug 23, 2019 · 0 comments

Comments

@fredboyle
Copy link

Attempting to use a custom file matching pattern to only process .mdx files and ignore .js but not having any luck.

I've added:
export const files = require.context('.', true, /\.mdx$/, 'lazy')

To the root level index.mdx file but it is still attempting to process .js files.

What might I be doing incorrectly?

Thanks for your help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant