New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

conga-assets

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conga-assets

Conga.js bundle for asset merging and minfication using connect-assetmanager

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

conga-assets

Overview

This is a bundle for the Conga.js framework which handles the merging and minification of javascript and css assets using the connect-assetmanager module.

Configuration

Example:

// config.yml
assets:

    # enable asset compilation
    enabled: true
    
    # should a version be appended
    appendVersion: true

    # version parameter name (/js/src.js?v=1234)
    versionParameter: v

    # version number to append to querystrings
    version: v1.0

    # templates to parse asset paths from
    paths:
        - demo-bundle:layout.jade
        - demo-bundle:chat/index.jade

Usage

To combine assets in your templates, use the provided assets() template helper.

asset(destination, assetType, sourceFiles)

Jade example:

# layout.jade
!= assets('/js/src.js', 'javascript', ['/js/user.js', '/js/jst.js', '/bundles/demo-bundle/js/*'])

FAQs

Package last updated on 02 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc