silverstripe-framework/docs/en/05_Contributing
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
..
00_Issues_and_Bugs.md DOCS 3.2 : fixing api: links now that api: tag parser working 2016-02-17 18:02:38 -07:00
01_Code.md Moved "build tooling" into separate doc 2016-06-13 08:30:44 +12:00
02_Build_Tooling.md API Use Webpack 2016-09-15 22:19:05 +12:00
03_Request_for_comment.md Moved "build tooling" into separate doc 2016-06-13 08:30:44 +12:00
04_Release_Process.md Moved "build tooling" into separate doc 2016-06-13 08:30:44 +12:00
05_Making_A_SilverStripe_Core_Release.md Moved "build tooling" into separate doc 2016-06-13 08:30:44 +12:00
06_Documentation.md Moved "build tooling" into separate doc 2016-06-13 08:30:44 +12:00
07_Translations.md Moved "build tooling" into separate doc 2016-06-13 08:30:44 +12:00
08_Translation_Process.md Moved "build tooling" into separate doc 2016-06-13 08:30:44 +12:00
09_Core_committers.md Moved "build tooling" into separate doc 2016-06-13 08:30:44 +12:00
10_Code_of_conduct.md Moved "build tooling" into separate doc 2016-06-13 08:30:44 +12:00
11_Coding_Conventions.md Moved "build tooling" into separate doc 2016-06-13 08:30:44 +12:00
12_JavaScript_Coding_Conventions.md Added link to React coding conventions 2016-09-01 13:59:34 +12:00
13_CSS_Coding_Conventions.md FIX Webpack handles images & fonts. 2016-09-15 22:19:09 +12:00
14_PHP_Coding_Conventions.md Moved "build tooling" into separate doc 2016-06-13 08:30:44 +12:00
index.md DOCS Reference to ensure contributors read over the Code of conduct 2015-02-16 10:28:52 +13:00