myFavShrimp / turf

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

Relative paths in `style_sheet!` macro #13

Open SSeanin opened 7 months ago

SSeanin commented 7 months ago

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

myFavShrimp commented 7 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)