+ 5

Bundle CSS Files Together

Hi guys, i'm working on a big application, and i want to bundle all my css file in one. Is there a way to do it with LESS or i should learn SASS and the bundle together all .scss files?

20th May 2018, 10:22 AM
Automation
Automation - avatar
1 Resposta
0
I only know SCSS. But there you can simply create one main file like main.scss and then import all the other .scss files with @import. You should name these partial files like _partial.scss then you can import them by adding @import 'partial'; to your main .scss file. Here's a link to the official SASS/SCSS guide: https://sass-lang.com/guide I hope I could help :)
21st May 2018, 9:58 AM
Thomas Artmann
Thomas Artmann - avatar