Commit Graph

6 Commits

Author SHA1 Message Date
Gary Pendergast
e0ff022be6 Build Tools: Don't minimise CSS in the unminimised files.
See #45201.


Built from https://develop.svn.wordpress.org/branches/5.0@43933


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-22 03:21:46 +00:00
Gary Pendergast
7d19c028be Build Tools: Tweak the webpack config for unminified files.
[43931] unintentionally caused the unminified files to wrap the code in an `eval()` call. 

See #45201.


Built from https://develop.svn.wordpress.org/branches/5.0@43932


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-22 03:12:49 +00:00
Gary Pendergast
3fa1bd8241 Build Tools: Minify the package CSS when building.
CSS coming from the `@wordpress` packages wasn't being minified in the build. This had the noteable side effect of causing RTL CSS to not be loaded when `SCRIPT_DEBUG` was set to `false`.

Props websupporter.
See #45330.


Built from https://develop.svn.wordpress.org/branches/5.0@43905


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-16 00:23:49 +00:00
aduth
2ae0f9e6b4 Block Editor: Update @wordpress dependencies to match Gutenberg 4.4.0
Updates packages: annotations, api-fetch, block-library, blocks, components, compose, core-data, data, date, edit-post, editor, element, format-library, i18n, list-reusable-blocks, notices, nux, plugins, rich-text, viewport

Updates changed dependencies in script-loader.php

Upgrades React from 16.5.2 to 16.6.3

See #45145

Built from https://develop.svn.wordpress.org/branches/5.0@43903


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-16 00:10:55 +00:00
Gary Pendergast
cb09a64dc6 Build Tools: Add non-minified @wordpress scripts to the build output.
Props atimmer.
See #45156.


Built from https://develop.svn.wordpress.org/branches/5.0@43886


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-12 04:19:49 +00:00
Gary Pendergast
158cbdbf03 Build Tools: Copy package JavaScript and CSS into wp-includes.
- `grunt webpack:dev` now copies packages JS into `/src/wp-includes/js/dist`, and CSS into `/src/wp-includes/css/dist`.
- `grunt webpack:prod` does the same, but into `/build` instead of `/src`.
- `grunt build` now runs the `webpack:prod` task.

Props atimmer, pento.
Fixes #45119.


Built from https://develop.svn.wordpress.org/branches/5.0@43760


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-19 06:06:46 +00:00