Last active
          August 29, 2015 14:01 
        
      - 
      
- 
        Save shimar/de4df3ccd8162c70d96b to your computer and use it in GitHub Desktop. 
    using connect-assets on node.js + express.js
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var connectAssets = require('connect-assets'); | |
| app.use(connectAssets({ | |
| paths: [path.join(__dirname, 'assets/js'), | |
| path.join(__dirname, 'assets/css'), | |
| path.join(__dirname, 'components')], | |
| buildDir: 'public/assets' | |
| })); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment