/grunt-dom-processor

grunt task for dom-processor

Primary LanguageJavaScriptMIT LicenseMIT

grunt-dom-processor Build Status

Transform HTML-Files.

Installation

npm install grunt-dom-processor --save-dev

Example

Simple example for processing all html-files in src-folder and writing results to dist-folder:

'dom-processor': {
  main: {
    configLoader: configLoader,
    files: [{
      src: ['**/*.html'],
      dest: 'dist',
      expand: true,
      cwd: 'src'
    }]
  }
}

For the usage of configLoader see this

License

MIT © Benjamin Eckardt