Skip to content

caseywebdev/cogs-transformer-directives

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A directive transformer for Cogs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published