[wp-trac] [WordPress Trac] #45614: Build Tools: grunt build fails if mu-plugins and uploads directories has many files

WordPress Trac noreply at wordpress.org
Mon Mar 8 03:59:17 UTC 2021


#45614: Build Tools: grunt build fails if mu-plugins and uploads directories has
many files
-------------------------------+------------------------------
 Reporter:  Nikschavan         |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Build/Test Tools   |     Version:  5.0
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by isabel_brison):

 * keywords:   => reporter-feedback


Comment:

 Hi @Nikschavan ! The mu-plugins and uploads directories, as well as the
 other directories from wp-content referenced in your patch, aren't
 included in the list of built files. The full list, with the `minimal-
 copy` option enabled, is:


 {{{
   '*.php',
   '*.txt',
   '*.html',
   'wp-includes/**',
   'wp-admin/**',
   'wp-content/index.php',
   'wp-content/themes/index.php',
   'wp-content/themes/twenty*/**',
   'wp-content/plugins/index.php',
   'wp-content/plugins/hello.php',
   'wp-content/plugins/akismet/**',
   '!wp-content/themes/twenty*/node_modules/**',
   '!wp-includes/assets/**',
   '!js/**',
   '!.{svn,git}',
   '!wp-includes/version.php',
   '!**/*.map',
   '!index.php',
   '!wp-admin/index.php',
   '!_index.php',
   '!wp-admin/_index.php',
   '!wp-content/plugins/**',
   '!wp-content/themes/!(twenty*)/**'
 }}}

 Could you provide some more details about the build failure, any error
 messages, etc.?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45614#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list