silverstripe-framework/client/dist/styles
Sam Minnee 2e577ddb1d API Use Webpack
The bundle is generated by running “webpack” directly - gulp is no
longer needed as an intermediary. The resulting config is a lot shorter,
although more configuration is pushed into lib.js.

Modules are shared between javascript files as global variables.
Although this global state pollution is a bit messy, I don’t think it’s
practically any worse than the previous state, and it highlights the
heavy coupling between the different packages we have in place.
Reducing the width of the coupling between the core javascript and
add-on modules would probably be a better way of dealing with this than
replacing global variables with some other kind of global state.

The web pack execution seems roughly twice as fast - if I clear out my
framework/client/dist/js folder, it takes 13.3s to rebuild. However,
it’s not rebuilding other files inside dist, only the bundle files.

CSS files are now included from javascript and incorporated into
bundle.css by the webpack. Although the style-loader is helpful in some
dev workflows (it allows live reload), it introduces a flash of
unstyled content which makes it inappropriate for production.

Instead ExtractTextPlugin is used to write all the aggregated CSS
into a single bundle.css file. A style-loader-based configuration could
be introduced for dev environments, if we make use of the webpack live
reloader in the future.

Note that the following features have been removed as they don't appear to be
necessary when using Webpack:
 - UMD module generation
 - thirdparty dist file copying

LeftAndMain.js deps: Without it, ssui.core.js gets loaded too late,
which leads e.g. to buttons being initialised without this added behaviour.
2016-09-15 22:19:05 +12:00
..
AssetUploadField.css improve class naming to be more generic 2016-09-14 15:09:45 +12:00
CheckboxSetField.css API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
ConfirmedPasswordField.css API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
DatetimeField.css API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
debug.css API Use Webpack 2016-09-15 22:19:05 +12:00
Form.css API Convert CMS forms to bootstrap 2016-07-25 17:24:26 +12:00
GridField_print.css API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
GridField.css improve class naming to be more generic 2016-09-14 15:09:45 +12:00
Security_login.css Swap out .Actions class for bootstrap .btn-toolbar (#5581) 2016-05-27 13:39:10 +12:00
SelectionGroup.css BUG Fix issue with gulpfile.js not compiling client/src/legacy dir 2016-07-28 16:32:40 +12:00
TreeDropdownField.css Insert media into TinyMCE modal, styling fixes and improvements (#5967) 2016-09-14 13:48:33 +12:00
UploadField.css Insert media into TinyMCE modal, styling fixes and improvements (#5967) 2016-09-14 13:48:33 +12:00