[wp-trac] [WordPress Trac] #45065: Include Gutenberg packages in WordPress core.
WordPress Trac
noreply at wordpress.org
Thu Dec 13 11:04:39 UTC 2018
#45065: Include Gutenberg packages in WordPress core.
-------------------------+-------------------------
Reporter: omarreiss | Owner: omarreiss
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.0
Component: General | Version:
Severity: normal | Resolution:
Keywords: fixed-5.0 | Focuses: javascript
-------------------------+-------------------------
Comment (by atimmer):
In [changeset:"44111" 44111]:
{{{
#!CommitTicketReference repository="" revision="44111"
Build tools: Upgrade webpack to version 4.
* Minification is done by uglify, so disable that in the media build.
* The webpack boilerplate has changed, which explains the changes in the
build files.
* ModuleConcatenationPlugin is enable by default for production builds so
we don't have to specify that ourselves.
Merge notes: In `trunk` uglify isn't run on the media files after webpack,
so webpack does need to do that. Newer webpack versions use `terser-
webpack-plugin` as the default minification. Use the `uglifyjs-webpack-
plugin` plugin to maintain the same behavior as before. We can look into
terser as a minifier later.
Merges [43688] to trunk.
See #45065.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45065#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list