docpad-plugin-combiner

A Docpad plugin that adds the ability to combine parts to create a final master file

Combiner Plugin for DocPad

Convention:

Join file parts together of any type. Can be any file type. Can be mixed with layouts too

Example:

  • test.js

      --- cson
      combine: true
      outPath: scripts/myScript.js
      ---
      function foo(){}
    
  • anothTest.js.coffee

      --- cson
      combine: true
      outPath: scripts/myScript.js
      ---
      ### coffeescript ###
      bar ->
    
  • out: scripts/myScript.js:

      function foo(){}
      
      /* coffeescript
      */
      
      bar(function() {});
    
npm install --save docpad-plugin-combiner

Currenlty no options are available for this plugin

Licensed under the incredibly permissive MIT License
Copyright © 2013+ [Stringz Solutions Ltd]
Copyright © 2013+ Peter Flannery