-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
Consider using .less files instead of .css files for default #3
Comments
My mistake. LESS files build just fine if you just change the extension. May be worth considering generating .less files by default though. Although I know there is quite a bit of precedent for doing CSS files by default (React Create App, Angular CLI), I think that's the wrong decision. Lots of developers won't even know the CLI supports a CSS preprocessor, and rather than figure out that they can use a preprocessor, they just forge onward with raw css. This has actually happened to me before in an Angular CLI project I inherited. Less is pretty widely understood, and I just can't imagine any developer in their right mind wanting to write raw css. |
FWIW I'm a less user as well, but I don't want to push it on anyone. I can't remember if we have it in yet, but there is supposed to be a --less option in |
Good point. Documenting the flags on |
[WIP] feature: Custom config transformation
Nice work! It gives me shivers of happiness to see that 20kb download size for a fully functional app.
However, I just barely ran
preact create my-test-app
and it doesn't come with built in LESS support, just boring old .css files. Or is there a config to use LESS? Do you need to bump the NPM version? Since I see in your examples folder that LESS should be supported.The text was updated successfully, but these errors were encountered: