My stylesheets are located in /assets/stylesheets/ and my hapi index file is in /assets/lib/. Loading the main.styl / main.css file works but importing partials needs the full path.
For example consider this main.styl, trying to import files in the same folder:
@import '_partial' // Does not work
@import 'assets/stylesheets/_partial' // Does work
I used this config for the plugin:
My stylesheets are located in
/assets/stylesheets/
and my hapi index file is in/assets/lib/
. Loading themain.styl
/main.css
file works but importing partials needs the full path.For example consider this
main.styl
, trying to import files in the same folder:I would expect that the first variant would work.