-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I have all css modules files names as following: *.module.css (i.e. Button.module.css) with corresponding tsx file *.tsx (i.e. Button.tsx). And using current template capabilities, I cannot match these files, because cssName equals to Button.module in this case.
I suggest to provide ability to specify resolver as custom function type DocumentPathResolver = (cssFilePath: string) => string | null, which would return path to a document.
(i.e. it should be possible to provide such function via option resolve.documents)
mizdra
Metadata
Metadata
Assignees
Labels
No labels