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

css module support #13

Merged
merged 5 commits into from Jan 24, 2018
Merged

css module support #13

merged 5 commits into from Jan 24, 2018

Conversation

flobacher
Copy link

the name-generation is taken from the @next version of cra.. it is a bit verbose, but gzip will eliminate that overhead. the reasoning behind this naming convention can be found in the fist comment:
facebook/create-react-app#2285

please check/give feedback!

@dgoerdes
Copy link
Contributor

Hey, thanks!

Looks good so far, but you should also update the generator templates for components to add the .modules on the scss file names and the imports in the componet etc.

@flobacher
Copy link
Author

@dgoerdes I did this in f33983d
are there other places I need to change as well?

@dgoerdes
Copy link
Contributor

Yep in here https://github.com/emakina-cee-oss/react-cli/tree/master/packages/generator-emakinacee-react/generators/component

@dgoerdes dgoerdes merged commit 1c3022d into master Jan 24, 2018
@dgoerdes dgoerdes deleted the cli-12_css-module_support branch January 24, 2018 13:41
This was referenced Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants