css-modules-flow-types icon indicating copy to clipboard operation
css-modules-flow-types copied to clipboard

would be nice to have a how-to for CRA

Open pkyeck opened this issue 4 years ago • 3 comments

I think a lot of people are using CRA (create-react-app) and may want to include this - so a short how-to would be nice.

pkyeck avatar Apr 23 '20 21:04 pkyeck

That is a great idea. 👍

Are you up for creating a PR?

skovhus avatar Apr 24 '20 11:04 skovhus

If only I could ... was hoping to find one here ;)

pkyeck avatar Apr 24 '20 12:04 pkyeck

So, I cannot see you can use the webpack loader without ejecting or using one of the many CRA rewired packages.

The easiest option is to use the CLI: https://github.com/skovhus/css-modules-flow-types/blob/master/README.md#usage-cli, but the workflow isn’t optimal.

skovhus avatar Apr 25 '20 18:04 skovhus