Because the CSS is in the root and the duplicated preprocessor files also list in the root, the @import into a global main.scss doesn't know which file to import. It might be wise to relocate the css file into src/ and the duplicated files into dist/.