mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
1b527fca3f
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. |
||
---|---|---|
.. | ||
sprites | ||
textures | ||
alert-bad.gif | ||
alert-good.gif | ||
arrow_refresh.gif | ||
arrows.png | ||
btn_arrow_down_grey.png | ||
chosen-sprite.png | ||
chosen-sprite@2x.png | ||
cms_content_header.png | ||
content-header-tabs-sprite.png | ||
drag_drop_opt.svg | ||
filter-icons.png | ||
link_arrows.png | ||
logo_small.png | ||
logo_small@2x.png | ||
logo.gif | ||
menu-arrow-deselected-up.png | ||
network-save-constructive.gif | ||
network-save.gif | ||
progressbar_blue.gif | ||
question.png | ||
silverstripe_logo.png | ||
silverstripe.svg | ||
sitetree_ss_default_icons.png | ||
sitetree_ss_default_icons@2x.png | ||
sitetree_ss_pageclass_icons_default.png | ||
spinner.gif | ||
spinner@2x.gif | ||
sprite-btn-icon.png | ||
sprite-sprites-32x32.png | ||
sticky-toggle-off.png | ||
sticky-toggle-on.png | ||
throbber.gif |