-
Sprites
- move the contents of
/src/img/spritesdirectory to/src/sprites - if you had any additional directories, place them under the
/src/img/sprites - config item properties changed:
imgSrctosrc,imgDesttodest, added requiredname
- move the contents of
-
Custom dirs
- now defined in the
frs.config.js(an arrayconfig.customDirs.itemsinstead ofdirs.customobject) fromandtoproperties changed tosrcanddest
- now defined in the
See the new docs with examples for Frontend-starter and default bundle.
As this version uses gulp@4, you must install a global package gulp-cli (instead of gulp), which registers the gulp command to run the locally installed version. Just follow step 1 of instructions on gulp.js page.
Ensure the following issues are up-to-date:
- config filenames renamed from
frs.config.custom.jstofrs.config.jsandfrs.dirs.custom.jstofrs.dirs.js frs.config.js: remove.commonreferences, e.g. changeconfig.images.common.imagemin.optimizationLevel = 4;toconfig.images.imagemin.optimizationLevel = 4;frs.dirs.js: ensure that you follow the samecaseconditions scheme as in the file in default bundle (reduced 3 steps into 2:mainandsub)- move
/src/js/vendorto/vendor/js