lasso-js / lasso

Advanced JavaScript module bundler, asset pipeline and optimizer
580 stars 75 forks source link

Url Prefix always forces a forwardslash #280

Closed alexjalex closed 5 years ago

alexjalex commented 5 years ago

I am trying to output a truely relative system that works anywhere in a site structure.

site.com/
site.com/subsection/

Setting the urlPrefix to '' or to '/' always adds a '/' at the start which stops the same output being able to be used in multiple places on the site.

alexjalex commented 5 years ago

setting prefix to './' works