4 Commits

Author SHA1 Message Date
Gary Pendergast
e603cf6ba3 Build Tools: Add non-minified @wordpress scripts to the build output.
Props atimmer.
See #45156.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43886 602fd350-edb4-49c9-b593-d223f7449a82
2018-11-12 04:18:52 +00:00
Anton Timmermans
2588c1cae2 Build tools: Build @wordpress packages with webpack.
We decided to split the media webpack config into it's own file. The
main webpack config then combines this file with the packages config.

Include vendor scripts by copying them. We copy the minified files if
they are available. If they aren't available we minify the original
files ourselves.

Props omarreiss, herregroen, gziolo, youknowriad, netweb, adamsilverstein.
See #45065.


git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43719 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-11 10:00:16 +00:00
Anton Timmermans
d1373c8af6 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.

See #45065.


git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43688 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-09 09:33:36 +00:00
Anton Timmermans
404dabf1f8 Build tools: Combine webpack config files.
This prepares us for building the Gutenberg packages.

See #45065.


git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43687 602fd350-edb4-49c9-b593-d223f7449a82
2018-10-09 08:30:09 +00:00