#65006 closed defect (bug) (fixed)
`uglify:moment` task fails due to missing source file
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Build/Test Tools | Keywords: | has-patch commit fixed-major dev-reviewed |
| Focuses: | Cc: |
Description
Follow up to #64393.
When running the build script, the following notice is output:
Running "uglify:moment" (uglify) task >> Destination src/wp-includes/js/dist/vendor/moment.min.js not written because src files were empty. >> No files created.
Change History (9)
This ticket was mentioned in PR #11417 on WordPress/wordpress-develop by @desrosj.
6 weeks ago
#1
- Keywords has-patch added
#2
@
6 weeks ago
- Owner set to peterwilsoncc
- Resolution set to fixed
- Status changed from new to closed
In 62189:
#3
@
6 weeks ago
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening for merge to the 7.0 branch following clarification of process in the #core-committers slack channel.
Note: See
TracTickets for help on using
tickets.
This fixes a bug where the
moment.jsfile is not present before theuglify:allGrunt task runs by moving thecopy-vendor-scriptsinto thebuild:jstask _beforeuglify:all`.Trac ticket: Core-65006.
## Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Sonnet 4.6
Used for: Comparing the current behavior to before the recent build script changes to determine what was different.