Prestashop: [BOGOSS-2] Webpacks normalization

Created on 23 Aug 2018  路  9Comments  路  Source: PrestaShop/PrestaShop

This issue has been migrated from the Forge. Read the original ticket here.

  • _Reporter:_ julienbourdeau
  • _Created at:_ Mon, 30 May 2016 11:21:33 +0200

All WebPack configurations will be normalized:

  • All files should be minified
  • The final javascript should be split if necessary
  • All libraries should be imported on the configuration, not on an entry point

Use PageSpeed to compare results.

BO Developer Feature FO Fixed Improvement Refactoring

Most helpful comment

Closing it, as any way default theme is gonna die, no need to lost time on putting every files inside the webpack config and refacto a lot of things

All 9 comments

ping @NeOMakinG FYI

I think it's closable

  • All files are minified now
  • Final JS is split if necessary, we've specific JS for specific pages etc
  • Libraries are ever inside webpack or inside the main file entry, and this is fine

@PierreRambaud wdyt ? If you think we're fine atm, close it :)

@NeOMakinG I think yes, even if there are some problems left, the hard part is done.

What kind of problems do you think about ? I can check

Some files in the admin-dev/themes/default are not managed by webpack :thinking:

Wow, every files except one are not managed by webpack !

every files except one are not managed by webpack !

@NeOMakinG is that file still not managed by webpack :sweat_smile: ?

Closing it, as any way default theme is gonna die, no need to lost time on putting every files inside the webpack config and refacto a lot of things

Was this page helpful?
0 / 5 - 0 ratings