hopp-plugin-accord

1.2.3 • Public • Published

hopp-plugin-accord

A unified interface for compiled languages and templates in JavaScript.

NPM

Usage

The API is very simple. There's a single function available called accord() and it takes two parameters:

  • engine: the engine name, passed as-is to accord in the background.
  • options: any options you'd like to pass to accord.

Sample:

const hopp = require('hopp')
 
export default
  hopp([ 'src/less/*.less' ])
    .accord('less')
    .rename({ ext: '.css' })
    .dest('dist/css')

Note: Files are never renamed. You should handle this yourself. Also covered by the example.

License

Licensed under MIT license.

Copyright (C) 2017 10244872 Canada Inc.

Package Sidebar

Install

npm i hopp-plugin-accord

Homepage

hoppjs.com/

Weekly Downloads

12

Version

1.2.3

License

MIT

Last publish

Collaborators

  • karimsa