Opened 8 years ago
Closed 4 years ago
#45614 closed enhancement (worksforme)
Build Tools: grunt build fails if mu-plugins and uploads directories has many files
| Reported by: | Nikschavan | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Build/Test Tools | Version: | 5.0 |
| Severity: | normal | Keywords: | reporter-feedback |
| Cc: | Focuses: |
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
@
6 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Excludes directories from wp-content/ from build process.