cogs-transformer-directives

4.0.0 • Public • Published

cogs-transformer-directives

A directives transformer for Cogs.

Build Status

Extract require and link directives from a file's initial comments.

In the following example, the file itself will be proceeded by every file in the templates directory.

//= requireself
//= require ./templates/**/*
 
var foo = 'bar';

In this example, the file will be prepended with normalize.css.

/*
= require bower_components/normalize/normalize.css
*/
 
.foo {
  color: blue;
}

Readme

Keywords

none

Package Sidebar

Install

npm i cogs-transformer-directives

Weekly Downloads

3

Version

4.0.0

License

MIT

Last publish

Collaborators

  • caseywebdev