Make WordPress Core

Opened 4 years ago

Closed 8 months ago

#45614 closed enhancement (worksforme)

Build Tools: grunt build fails if mu-plugins and uploads directories has many files

Reported by: nikschavan's profile Nikschavan Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.0
Component: Build/Test Tools Keywords: reporter-feedback
Focuses: Cc:

Description

These directories can be included in the --minimal-copy grunt option to skip these from build process.

Related #38423

Attachments (1)

45614.1.diff (853 bytes) - added by Nikschavan 4 years ago.
Excludes directories from wp-content/ from build process.

Download all attachments as: .zip

Change History (3)

@Nikschavan
4 years ago

Excludes directories from wp-content/ from build process.

#1 @isabel_brison
2 years ago

  • Keywords reporter-feedback added

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.?

#2 @desrosj
8 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Going to close this one out due to a lack of reporter feedback.

If someone else is able to reproduce and provide more details, please feel free to reopen!

Note: See TracTickets for help on using tickets.