mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-30 20:21:37 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@44111 git-svn-id: http://core.svn.wordpress.org/trunk@43941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
25366bd41f
commit
4f9ba9044e
File diff suppressed because one or more lines are too long
2
wp-includes/js/media-audiovideo.min.js
vendored
2
wp-includes/js/media-audiovideo.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
wp-includes/js/media-grid.min.js
vendored
2
wp-includes/js/media-grid.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3
wp-includes/js/media-models.min.js
vendored
3
wp-includes/js/media-models.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
13
wp-includes/js/media-views.min.js
vendored
13
wp-includes/js/media-views.min.js
vendored
File diff suppressed because one or more lines are too long
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-alpha-44110';
|
||||
$wp_version = '5.1-alpha-44111';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user