1.0.0 • Published 9 years ago

grunt-simple-preprocess v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

grunt-simple-preprocess Build Status

Preprocess html, js and css based off environment configuration, using simple-preprocess

Issues with the output should be reported on the simple-preprocess issue tracker.

Install

$ npm install --save-dev grunt-simple-preprocess

Usage

require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks

grunt.initConfig({
  simplePreprocess: {
    target: {
      src: 'src/index.html',
      dest: 'dest/index.html'
    }
  }
});

grunt.registerTask('default', ['simplePreprocess']);

NOTE If the file dest is NOT specified, src is overwritten. Also only one src per dest is supported. The first file is used if multiple src per dest is found. See http://gruntjs.com/configuring-tasks#files for more information on files

License

MIT © Steve Mao