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: |
|
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)
Change History (3)
#1
@
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.?
Note: See
TracTickets for help on using
tickets.
Excludes directories from wp-content/ from build process.