storborg / pyramid_frontend

Theme handling, image filtering, and asset optimization for Pyramid
Other
0 stars 2 forks source link

Add functionality to pass variables into lessc or r.js #19

Closed storborg closed 9 years ago

storborg commented 10 years ago

Note that neither really offers direct support for this, so it would probably have to use some circuitous mechanism like:

  1. Write a file that defines variables
  2. Make entry points appropriate depend on that file (in the right order)
  3. Include that file in the compilation step
storborg commented 9 years ago

This is probably too specific to individual asset compiler implementations, like sass, less, etc. Punting for now.