Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Erik Straub
    @brkattk
    hello
    I’m having an issue precompiling my static assets to the right directory
    Erik Straub
    @brkattk

    my application.coffee has the following

    server:
      staticRoutes:
        '/assets/webfonts': 'app/webfonts'
        '/assets/images': 'app/images'

    my files.coffee looks like so

      img:
        app: "images/**/*.*"
        root: "assets/images"
    
      webfonts:
        app: "webfonts/**/*.*"
        root: "assets/webfonts"

    and my lineman app’s directory structure is like so

    app/
    - images/
    - webfonts/
    When I run assets:precompile, I get the dist/images and dist/webfonts directories, but they’re empty and thus public/assets/images and public/assets/webfonts are empty
    Erik Straub
    @brkattk
    there’s something about lineman not copying the static assets over to the respective dist directories
    Erik Straub
    @brkattk
    ugh.. idk why I tried keeping images in the wrong place
    working now
    David Mosher
    @davemo
    glad you got it working @brkattk :)
    feel free to post here if you have more questions