Open DanielJoyce opened 4 months ago
Given the following:
@import "../generated/leptonic/leptonic-themes"; body { font-family: sans-serif; text-align: center; } :root { --brand-color: green; }
If it is named as main.scss then sass resolves the import and it gets bundled as one file style-file = "style/main.scss"
style-file = "style/main.scss"
If it is named as main.css, then the import is not bundled by the current lightning config. style-file = "style/main.css"
style-file = "style/main.css"
Given that modern CSS supports most of the sass features, I'd rather just use plain CSS and have lightning bundle it.
Given the following:
If it is named as main.scss then sass resolves the import and it gets bundled as one file
style-file = "style/main.scss"
If it is named as main.css, then the import is not bundled by the current lightning config.
style-file = "style/main.css"