Sylius: Replace gulp with Webpack (encore)

Created on 3 Sep 2019  路  4Comments  路  Source: Sylius/Sylius

:wave: Hi guys! At the moment Sylius using gulp for building assets - admin and shop.
Our feature request is replacing the gulp process with webpack encore.

The installation will be the same as now

$ yarn install
$ yarn build

Todo

  • rewrite the build using webpack for admin and
  • shop
  • remove gulp from project
  • [optional] rewrite Sylius JavaScripts for webpack (frontend JS is in a deplorable state)

Profit

  • One modern build tool (when using Sylius/BootstrapTheme you have two build tools in your project)
  • Consistency
  • Get rid of deprecated errors
  • Sylius will switch to Bootstrap anyway
Do not stale RFC

Most helpful comment

this should be reopen, as the replacement of Gulp with Webpack is not complete yet.

issues I bumped into:

  • the package.json file still uses Gulp by default for running various commands (especially from docker)
  • docker files should be updated to avoid copying Gulp files and copy webpack instead

All 4 comments

@jelen07 there is still some work to be done, but we have already started testing the encore with the sylius-standard https://github.com/Sylius/Sylius-Standard/pull/354

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

this should be reopen, as the replacement of Gulp with Webpack is not complete yet.

issues I bumped into:

  • the package.json file still uses Gulp by default for running various commands (especially from docker)
  • docker files should be updated to avoid copying Gulp files and copy webpack instead

How do we do to be able to use that?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mikemix picture mikemix  路  3Comments

mezoni picture mezoni  路  3Comments

inssein picture inssein  路  3Comments

tchapi picture tchapi  路  3Comments

ping86 picture ping86  路  3Comments