kalamuna / kalastatic

:electric_plug: Facilitate the front-end experience through Styleguides and Prototypes
https://kalamuna.github.io/kalastatic/
41 stars 14 forks source link

Don't move source files #449

Open soniktrooth opened 7 years ago

soniktrooth commented 7 years ago

All the .scss files seem to get moved into the build folder along with everything else. This can get confusing sometimes when grepping a project. Is it possible to have these not move with everything else?

RobLoach commented 7 years ago

Should these be prefixed with a _?

_button.scss

Does it deploy _button.scss?

andrewmallis commented 7 years ago

@soniktrooth ^

RobLoach commented 7 years ago

This should likely be in QA. Anything with a prefixing _ is not moved.

Recommend renaming your .scss file to _myFileYo.scss.

soniktrooth commented 7 years ago

Reopening with a new title

soniktrooth commented 7 years ago

@RobLoach I can see that indeed the sass files prepended with an underscore aren't being moved but the twig files still are. I think it's safe to say that nothing in the components folder needs to get copied across.

soniktrooth commented 7 years ago

having the same twig files in two places can still be confusing when grepping an install if the output folder happens to not be ignored.

RobLoach commented 7 years ago

If you name the twig file "_mycomponent.twig", it won't deploy, but that's ugly. Perhaps remove all twig files from deployment?

soniktrooth commented 7 years ago

yes please.