An open API service indexing awesome lists of open source software.

https://github.com/icflorescu/aspax-less-handler

Plugin enabling ASPAX to handle LESS files.
https://github.com/icflorescu/aspax-less-handler

Last synced: 10 months ago
JSON representation

Plugin enabling ASPAX to handle LESS files.

Awesome Lists containing this project

README

          

## What's this?
[![NPM version][npm-image]][npm-url]
[![Dependency Status][david-image]][david-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

A plugin that enables [ASPAX](http://aspax.github.io) to handle [LESS](http://lesscss.org) files.

## Installation
Type this in the folder where you're running ASPAX:

npm install aspax-less-handler

If you're running ASPAX in a Node.js application root folder, consider using the `--save-dev` option to avoid deploying this plugin to your production environment:

npm install aspax-less-handler --save-dev

## Usage
Simply add `.less` source files in `aspax.yml`:

app.css:
- lib.css
- styles-1.less
- script-2.less

## What about watching for imported files?
This plugin is smart enough to recursively scan for `@import` statements and automatically trigger ASPAX to rebuild the parrent asset if one of the files in your import tree changes.

## Endorsing the author
If you find this piece of software useful, please [tweet about ASPAX](http://twitter.com/share?text=Checkout%20ASPAX%2C%20the%20simple%20Node.js%20asset%20packager!&url=http%3A%2F%2Faspax.github.io&hashtags=aspax&via=icflorescu) and endorse me on LinkedIn:

[![Ionut-Cristian Florescu on LinkedIn](https://static.licdn.com/scds/common/u/img/webpromo/btn_viewmy_160x25.png)](https://www.linkedin.com/in/icflorescu)

[npm-image]: https://img.shields.io/npm/v/aspax-less-handler.svg?style=flat-square
[npm-url]: https://npmjs.org/package/aspax-less-handler
[david-image]: http://img.shields.io/david/icflorescu/aspax-less-handler.svg?style=flat-square
[david-url]: https://david-dm.org/icflorescu/aspax-less-handler
[license-image]: http://img.shields.io/npm/l/aspax-less-handler.svg?style=flat-square
[license-url]: LICENSE
[downloads-image]: http://img.shields.io/npm/dm/aspax-less-handler.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/aspax-less-handler