MetaCell / geppetto-meta

Other
4 stars 4 forks source link

Future of less files in context of create-react-app #141

Open lrebscher opened 3 years ago

lrebscher commented 3 years ago

create-react-app (CRA) doesn't support less files without ejecting webpack config and updating it directly.

If we decide to drop less type

CRA supports css and scss, so we could transform all less files to either one of these types.

If we decide to stick with less

Currently, the only robust option is to eject CRA config and add less loader to webpack config. But that's contrary to how you should use CRA and doesn't let you update CRA plugin anymore. From thereon, you have to manage it yourself.

Even with craco it doesn't seem to be possible to add less lodaer

lrebscher commented 3 years ago

issues reported in YALE project possibly caused by this unscoped css import