Bundle CSS Files Together | Sololearn: Learn to code for FREE!

+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?

5/20/2018 10:22:45 AM

Automation

1 Answer

New Answer

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 :)