Ticket #29833: 29833.grunt-task.patch
File 29833.grunt-task.patch, 1009 bytes (added by , 10 years ago) |
---|
-
Gruntfile.js
351 351 '!wp-includes/js/underscore.min.js', 352 352 '!wp-includes/js/zxcvbn.min.js' 353 353 ] 354 }, 355 jqueryui: { 356 options: { 357 preserveComments: 'some' 358 }, 359 expand: true, 360 cwd: SOURCE_DIR, 361 dest: BUILD_DIR, 362 ext: '.min.js', 363 src: [ 364 'wp-includes/js/jquery/ui/*.js' 365 ] 354 366 } 355 367 }, 356 368 concat: { … … 467 479 468 480 // Build task. 469 481 grunt.registerTask('build', ['clean:all', 'copy:all', 'cssmin:core', 'colors', 'rtl', 'cssmin:rtl', 'cssmin:colors', 470 'uglify:core', ' concat:tinymce', 'compress:tinymce', 'clean:tinymce', 'jsvalidate:build']);482 'uglify:core', 'uglify:jqueryui', 'concat:tinymce', 'compress:tinymce', 'clean:tinymce', 'jsvalidate:build']); 471 483 472 484 // Testing tasks. 473 485 grunt.registerMultiTask('phpunit', 'Runs PHPUnit tests, including the ajax and multisite tests.', function() {