mirror of
https://github.com/ansible/awx.git
synced 2026-05-21 15:57:52 -02:30
Update UI build system
* Faster build times * Smaller bundle sizes * Adjust paths * Cleanup npm dependencies * Remove unneded Grunt tasks
This commit is contained in:
@@ -17,38 +17,4 @@ module.exports = function(grunt) {
|
||||
grunt.initConfig(configs);
|
||||
grunt.loadNpmTasks('grunt-newer');
|
||||
grunt.loadNpmTasks('grunt-angular-gettext');
|
||||
|
||||
// writes environment variables for development. current manages:
|
||||
// browser-sync + websocket proxy
|
||||
|
||||
grunt.registerTask('sync', [
|
||||
'browserSync:http',
|
||||
'concurrent:watch'
|
||||
]);
|
||||
|
||||
grunt.registerTask('dev', [
|
||||
'clean:tmp',
|
||||
'clean:static',
|
||||
'concurrent:dev',
|
||||
'concat:css',
|
||||
'webpack:dev',
|
||||
'sync'
|
||||
]);
|
||||
|
||||
grunt.registerTask('devNoSync', [
|
||||
'clean:tmp',
|
||||
'clean:static',
|
||||
'concurrent:devNoSync',
|
||||
'concat:css'
|
||||
]);
|
||||
|
||||
grunt.registerTask('release', [
|
||||
'clean:tmp',
|
||||
'clean:static',
|
||||
'concurrent:prod',
|
||||
'webpack:prod',
|
||||
'concat:css',
|
||||
'cssmin:vendor',
|
||||
'cssmin:source'
|
||||
]);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user