Create block: add variation for CSS #52181
Labels
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
Hi @benoitchantre, Even if the extension is Alternatively, if you do not use ES6 notation in your JavaScript and do not need to compile, you can use the ES5 template, which will generate the CSS files. npx @wordpress/create-block gutenpride -t es5 Would this be helpful? |
Hi @t-hamano, Thank you for your helpful reply. I have started my own template as I think I’ll personalize it a bit more. If I need to come back, I’ll rename the files either manually or using a small bash script. Writing CSS in SCSS is ok, but doesn’t really enforce a standard if you want to. |
What problem does this address?
The create-block package allows us to scaffold blocks, but with a preference for SCSS.
When developers prefer to use CSS, they either have to use the default template and rename the files or to create and maintain their template.
What is your proposed solution?
Would it be possible to add a variation to use CSS instead of SCSS?
The text was updated successfully, but these errors were encountered: