mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 23:18:03 -03:30
* Faster build times * Smaller bundle sizes * Adjust paths * Cleanup npm dependencies * Remove unneded Grunt tasks
21 lines
571 B
JavaScript
21 lines
571 B
JavaScript
module.exports = function(grunt) {
|
|
// Load grunt tasks & configurations automatically from dir grunt/
|
|
require('load-grunt-tasks')(grunt);
|
|
// display task timings
|
|
require('time-grunt')(grunt);
|
|
|
|
var options = {
|
|
config: {
|
|
src: './grunt-tasks/*.js'
|
|
},
|
|
pkg: grunt.file.readJSON('package.json')
|
|
};
|
|
|
|
var configs = require('load-grunt-configs')(grunt, options);
|
|
|
|
// Project configuration.
|
|
grunt.initConfig(configs);
|
|
grunt.loadNpmTasks('grunt-newer');
|
|
grunt.loadNpmTasks('grunt-angular-gettext');
|
|
};
|