Set of front-end tools for Magento 2 based on Gulp.js
gulp
directly, all tasks need to be used via yarn [taskName]
or npm run [taskName]
watch
and dev
tasksBump node-sass
to v5.0.0 supported by Node.js v14.
eslint
task - #396Fixes:
Updates:
email-fix
task was renamed to emailfix
. To keep backward compatibility you can still use old naming via npm scripts yarn email-fix
or npm run email-fix
themes.json
in postcss
config of the theme, you shouldn't use plugins.something
anymore, but just something
. Although, all dependencies are no longer automatically available everywhere, so if you wish to use some additional PostCSS plugin, you need to import it manually in helpers/scss.js
file. Please check sample config
dest
- https://github.com/SnowdogApps/magento2-frontools/pull/350
npm
- https://github.com/SnowdogApps/magento2-frontools/issues/349 https://github.com/SnowdogApps/magento2-frontools/issues/348 https://github.com/SnowdogApps/magento2-frontools/issues/346
babel
task now saves source maps to separate files, also in production mode - #335email-fix
task to solve problems with inline emails styles on older Magento 2 versions - #247npm-shrinkwrap.json
added to make npm
installs safer>=8.9.0 <11.0.0
to target active LTS versionswatch
task now handles also adding, removing, moving and renaming files on the fly. Also, issues related to nested SASS imports and hanging watcher should be now eliminated.svg
task to easily generate SVG icons sprites.min
to output files, while using --prod
flaglocaleOverwrites
, due to implementation complexity and ability to easily replace it with new child theme created just for these overwritesdeploy
and browser-sync
task removed