silverstripe-framework/admin/client/dist/js/UploadField_select.js
Ingo Schommer e1b827f7c8 Optimise webpack build time (#6049)
* Rename bundles (prep for webpack optimisation)

This might or might not reduce the overall repo size,
because git can combine similar chunks in the newly generated files

* Optimise webpack build time

Consolidates bundles, since a separation of bundle-framework.js vs. bundle-legacy.js
vs. bundle-lib.js no longer makes sense - they're all loaded upfront anyway,
since we'll be introducing more react-powered logic alongside the "legacy" JavaScript.

By consolidating into fewer bundles, we give the optimisation scripts (UglifyJS)
more options to reduce the overall file size.

The main motivation for a vendor.js is to shorten rebuild times:
Most active development is happening in files required through bundle.js.
This commit drastically reduces the rebuild time for those changes (15s to 4s).
2016-09-21 17:14:43 +12:00

2 lines
473 B
JavaScript

webpackJsonp([4],[function(e,n,t){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}var o=t(1),r=i(o);r["default"].entwine("ss",function(e){e("form.uploadfield-form .TreeDropdownField").entwine({onmatch:function n(){this._super();var e=this;this.bind("change",function(){var n=e.closest("form").find(".grid-field");n.setState("ParentID",e.getValue()),n.reload()})},onunmatch:function t(){this._super()}})})}]);
//# sourceMappingURL=UploadField_select.js.map