silverstripe-framework/admin/code
Sam Minnee 1b527fca3f FIX Webpack handles images & fonts.
Responsibility for finding and referencing images and fonts is now
given to webpack. All the url references are now relative to the
component scss file, and point to font & images files in src/, rather
than assuming someone else will place them in dist.

This makes the source more modular, and makes it easier to, for
example, inline images are data URIs, or create a new build script that
builds several modules for a project in a single pass.

Workaround for bad font path in bundle.css:
ExtactTextPlugin didn’t work as well with a subfolder reference in the
filename. This is just a short-term fix and could probably be improved
to put bundle.css back in the styles subfolder.

Webpack handles images & fonts:
Responsibility for finding and referencing images and fonts is now
given to webpack. All the url references are now relative to the
component scss file, and point to font & images files in src/, rather
than assuming someone else will place them in dist.

This makes the source more modular, and makes it easier to, for
example, inline images are data URIs, or create a new build script that
builds several modules for a project in a single pass.

Clarify docs on spriting and webfonts:
We've decided to remove sprity since it comes with hundreds of dependencies,
and needs compilation within the "npm install" - dragging out the already overweight
install process, and making the resulting node_modules/ folder less portable between systems.
2016-09-15 22:19:09 +12:00
..
AddToCampaignHandler_FormAction.php API Namespace all classes 2016-09-08 10:23:17 +12:00
AddToCampaignHandler.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
AdminRootController.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
CampaignAdmin.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
CMSBatchAction.php API Namespace all classes 2016-09-08 10:23:17 +12:00
CMSBatchActionHandler.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
CMSMenu.php API Namespace all classes 2016-09-08 10:23:17 +12:00
CMSMenuItem.php API Namespace all classes 2016-09-08 10:23:17 +12:00
CMSPreviewable.php API Namespace all classes 2016-09-08 10:23:17 +12:00
CMSProfileController.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
GroupImportForm.php API Namespace all classes 2016-09-08 10:23:17 +12:00
LeftAndMain_HTTPResponse.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
LeftAndMain_SearchFilter.php API Namespace all classes 2016-09-08 10:23:17 +12:00
LeftAndMain_TreeNode.php API Namespace all classes 2016-09-08 10:23:17 +12:00
LeftAndMain.php FIX Webpack handles images & fonts. 2016-09-15 22:19:09 +12:00
LeftAndMainExtension.php API Namespace all classes 2016-09-08 10:23:17 +12:00
MemberImportForm.php FIX Webpack handles images & fonts. 2016-09-15 22:19:09 +12:00
ModelAdmin.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
SecurityAdmin.php FIX Webpack handles images & fonts. 2016-09-15 22:19:09 +12:00