Fix LessCSS include paths when packaging extensions.

Review Request #9524 — Created Jan. 23, 2018 and submitted

Information

Djblets
release-1.0.x
4ff7105...

Reviewers

The switch to Babel broke packaging extensions that made use of LessCSS
include paths that didn't prefix included files with /static/ (which
basically means anything including reviews.less and some other files).
This was due to the include path generation code ensuring that each
staticfiles entry contained the parent directory of the static/, which
isn't quite correct anymore.

We now include the static/ directory and its parent, ensuring that
both new-style includes and old-style ones will work properly during
packaging.

Built a package including rb/css/pages/reviews.less. Prior to this fix,
packaging failed. After, it succeeded, referencing the values used in
that file.

david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-1.0.x (e79b8de)