silverstripe-framework/admin/client/src
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
..
boot Tabs support in new file/image editor 2016-09-14 14:08:59 +12:00
bundles FIX: Use chosen from npm package. 2016-09-15 22:19:09 +12:00
components Added icon style for readonly fields containing icons 2016-09-14 15:09:16 +12:00
containers Increase consistency of tab styles across legacy and bootstrap tabs 2016-09-14 14:10:41 +12:00
font FIX Webpack handles images & fonts. 2016-09-15 22:19:09 +12:00
images FIX Webpack handles images & fonts. 2016-09-15 22:19:09 +12:00
legacy API Use Webpack 2016-09-15 22:19:05 +12:00
lib Tabs support in new file/image editor 2016-09-14 14:08:59 +12:00
mocks Correct naming for JS and CSS files in client/ 2016-04-25 15:43:19 +12:00
sprites FIX Webpack handles images & fonts. 2016-09-15 22:19:09 +12:00
state Enforce JS var declaration with value (#5993) 2016-09-13 11:02:15 +12:00
styles FIX Webpack handles images & fonts. 2016-09-15 22:19:09 +12:00