Importing CSS files from a CSS file not working

Piling on here, but…

The CSS import statement, in this context, doesn’t do what you think it does.

If you want to “compile” all files into one, you can do either of:

  1. Remove the import statements and use the resources.Concat template function
  2. Create a main.scss file, using either @import or @use (depending on the transpiler), then transpile the Sass to CSS using the resources.ToCSS template function
2 Likes