silverstripe-framework/admin/client/dist/js/CMSSecurity.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
587 B
JavaScript

webpackJsonp([0],[function(t,n,e){"use strict";function s(t){return t&&t.__esModule?t:{"default":t}}var u=e(1),i=s(u);i["default"].noConflict(),i["default"].entwine.warningLevel=i["default"].entwine.WARN_LEVEL_BESTPRACTISE,i["default"].entwine("ss",function(t){t('.cms input[type="submit"], .cms button, .cms input[type="reset"], .cms .ss-ui-button').entwine({onadd:function n(){this.addClass("ss-ui-button"),this.data("button")||this.button(),this._super()},onremove:function e(){this.data("button")&&this.button("destroy"),this._super()}})})}]);
//# sourceMappingURL=CMSSecurity.js.map