grunt-pjs
Preprocess JS build task for Grunt
Getting Started
npm install grunt-pjs --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt;
The "pjs" task
Overview
In your project's Gruntfile, add a section named pjs
to the data object passed into grunt.initConfig()
.
grunt;