Ticket #29833: 29833.grunt-task.2.patch
File 29833.grunt-task.2.patch, 1.3 KB (added by , 9 years ago) |
---|
-
Gruntfile.js
58 58 '!wp-includes/js/backbone.js', 59 59 '!wp-includes/js/underscore.js', 60 60 '!wp-includes/js/jquery/jquery.masonry.js', 61 '!wp-includes/js/jquery/ui/*.js', 61 62 '!wp-includes/js/tinymce/tinymce.js', 62 63 '!wp-includes/version.php' // Exclude version.php 63 64 ], … … 351 352 '!wp-includes/js/underscore.min.js', 352 353 '!wp-includes/js/zxcvbn.min.js' 353 354 ] 355 }, 356 jqueryui: { 357 options: { 358 preserveComments: 'some' 359 }, 360 expand: true, 361 cwd: SOURCE_DIR, 362 dest: BUILD_DIR, 363 ext: '.min.js', 364 src: ['wp-includes/js/jquery/ui/*.js'] 354 365 } 355 366 }, 356 367 concat: { … … 467 478 468 479 // Build task. 469 480 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']);481 'uglify:core', 'uglify:jqueryui', 'concat:tinymce', 'compress:tinymce', 'clean:tinymce', 'jsvalidate:build']); 471 482 472 483 // Testing tasks. 473 484 grunt.registerMultiTask('phpunit', 'Runs PHPUnit tests, including the ajax and multisite tests.', function() {