Description
Currently, any SASS files that don't directly include a rule (for example, files with only import statements) generate invalid .cljc files, as they include the word undefined beneath the namespace declaration.
Steps to reproduce
- Clone the project
cd cljc-css-loader/examplecat /dev/null >| styles/main.sass(bash; removes content frommain.sass)npx webpackcat cljc/styles/main.cljc
Expected outcome
main.cljcis a valid CLJC file and contains only the namespace declaration
ORmain.cljcis not generated at all
Actual outcome
main.cljcis not a valid CLJC file
(ns styles.main)
undefined