#25159 closed defect (bug) (fixed)
Grunt: concatenate and compress TinyMCE
Reported by: | azaozz | Owned by: | |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | 3.7 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
Add concatenation and compression modules to Grunt and make wp-tinymce.js.gz.
Attachments (4)
Change History (17)
#2
@
11 years ago
25159.2.patch also adds creation date/time and source paths for the concatenated TinyMCE parts.
#6
follow-up:
↓ 7
@
11 years ago
Due to the banner with the current time (banner: '// Created: <%= grunt.template.today("UTC:yyyy-mm-dd HH:MM:ss Z") %>\n',
), wp-tinymce.js changes every time the build process is run, and due to that, wp-tinymce.js.gz also changes.
This has lead to several sync commits to the "old" core.svn. having wp-tinymce.js.gz in them today.
#7
in reply to:
↑ 6
@
11 years ago
Replying to TobiasBg:
This has lead to several sync commits to the "old" core.svn. having wp-tinymce.js.gz in them today.
Indeed, every changeset in http://core.svn.wordpress.org/trunk now has wp-tinymce.js.gz
in the list of modified files.
#8
@
11 years ago
Generally that banner is nice-to-have, non essential. Lets remove it for now. Perhaps this can be replaced with importing some info from package.json.
In 25159.patch:
Wondering if we should remove wp-tinymce.js.gz from /src. It is unreachable as /src cannot run without SCRIPT_DEBUG = true.