Closed SolomoN-ua closed 10 years ago
PR for #42
jitGrunt: true
require('load-grunt-config')(grunt, { jitGrunt: true });
or specify jitGrunt: {} configuration object
jitGrunt: {}
require('load-grunt-config')(grunt, { jitGrunt: { // jit-grunt configuration here (can be just empty object) } });
This change should not affect current users.
jit-grunt is using task name to find and load grunt plugins, so in some cases you will need to specify static mappings.
For example:
jitGrunt: { simplemocha: 'grunt-simple-mocha' }
:+1:
just published this as 0.10.0-beta.1. you can install with npm install load-grunt-config@beta
npm install load-grunt-config@beta
Thanks @SolomoN-ua
Nice one @SolomoN-ua, thanks :)
PR for #42
To use jit-grunt instead of load-grunt-tasks plugin, just set
jitGrunt: true
or specify
jitGrunt: {}
configuration objectThis change should not affect current users.
Note:
jit-grunt is using task name to find and load grunt plugins, so in some cases you will need to specify static mappings.
For example: