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;
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 4.0.0
    2
    • latest

Version History

Package Sidebar

Install

npm i cogs-transformer-directives

Weekly Downloads

1

Version

4.0.0

License

MIT

Last publish

Collaborators

  • caseywebdev