-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
The problem
For the moment I use "labelFormat": "[dirname]-[filename]--[local]",
but that's not enough for me.
Proposed solution
I would like that dirname
takes all the folders.
Context
I'm here: /src/pages/Home/Main/Content.js
with:
const Heading = styled.div``
class HomePageMainContent extends React.Component {}
I would like that the className generated for Heading
is:
- either
xxx-HomePageMainContent--Heading
(random-NameOfTheReactClass--NameOfTheLocal
) - or
xxx-pages-Home-Main-Content--Heading
(random-The-Whole-Path--NameOfTheLocal
)
Thank you :)