Opened 11 years ago
Closed 11 years ago
#31477 closed defect (bug) (fixed)
Build task is overwriting minified JS libraries with our uglified version
| Reported by: | iseulde | Owned by: | jorbin |
|---|---|---|---|
| Priority: | low | Milestone: | 4.2 |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
Attachments (5)
Change History (13)
#3
@
11 years ago
- Keywords dev-feedback added
- Owner set to
- Status new → reviewing
@jorbin: Can you please review the patch and try to determine if that's all we need to fix the problem?
#4
@
11 years ago
I don't like the idea of running uglify on built JS by default. I think we are better off adding in the exceptions we need to our rules (or even better, moving everything not WP into a proper vendors folder). My above patch does this.
#5
@
11 years ago
- Keywords commit added; dev-feedback removed
- Priority normal → low
31477.1.diff is 31477.diff plus alphabetical order and it removes sourceMappingURL from underscore.min.js since the map isn't bundled and so produces a 404 error, see #25072 for jQuery.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Sanity checking diffs:
build-31477.diff-/buildfolder diff via31477.patchbuild-31477-grunt-uglify-core.diff- diff of verbose Grunt taskgrunt uglify:core --verbose