myFavShrimp / turf

Macro based compile-time SCSS transpilation, CSS minification, and class name uniquification toolchain inspired by CSS modules.
MIT License
58 stars 3 forks source link

Relative paths in `style_sheet!` macro #13

Open SSeanin opened 9 months ago

SSeanin commented 9 months ago

Is there any plan to allow for relative paths in macros such as style_sheet!?

myFavShrimp commented 9 months ago

Yes this is planned and support for relative file paths will be added when it is possible to obtain a SourceFile's path on stable rust (see https://github.com/rust-lang/rust/issues/54725)