bedrock icon indicating copy to clipboard operation
bedrock copied to clipboard

It should be safe to delete the CSS folder you don't need in /content

Open Wolfr opened this issue 4 years ago • 1 comments

“In the content area you will find two folders: postcss and sccs. The one you will use depends on your preference in your configuration. It should be safe to delete the folder you don't need.”

Test this.

Wolfr avatar Jun 17 '21 16:06 Wolfr

So when you would use postcss, it is actually not possible to delete the scss folder entirely. You need to keep _br-variables-override.scss because the core folder depends on it.

This file is used to customize the styles in Bedrock's styleguide.

This leads to a situation where someone might be confused by having two types of CSS folders in content:

.
├── data
├── docs
├── fonts
├── icon-font-source
├── icons
├── images
├── js
├── postcss
├── scss
└── templates

Ideally you only want the folder from the CSS technique you use.

I guess by now people might also be confused what a tailwind.config.js is doing in the root of the project when they don't use tailwind at all.

A project scaffolding wizard which generates certain files might be an answer, but that's complex to implement and maintain .

Wolfr avatar Jul 15 '21 17:07 Wolfr