Opened 15 years ago
Closed 14 years ago
#1891 closed enhancement (fixed)
minify/compress BP javascript
Reported by: | DJPaul | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | minor |
Severity: | Version: | ||
Component: | Keywords: | javascript | |
Cc: |
Description
We should minify (or compress in some way) the default theme javascript, as there's quite a lot of it. We can package a uncompressed .dev.js version with the theme for developers to be able to read/load from (use the WordPress SCRIPT_DEBUG constant for this).
Change History (4)
Note: See
TracTickets for help on using
tickets.
Great idea, DJPaul!
I was worried about the pre-bundled JS scripts in global.js (#1673) that I didn't think about minifying the whole thing!
I'd say this is more of an enhancement than a defect though.