my-learning-analytics icon indicating copy to clipboard operation
my-learning-analytics copied to clipboard

Updating to Webpack 5

Open pushyamig opened this issue 5 years ago • 1 comments

Currently django-webpack-loader doesn't support webpack 5 and it looks like this package is not well supported.

webpack 5 have features like split chunks will help with loading of the app faster by splitting big JS file to mini chunks. But using of split chuck may need additional configuration or/and coding changes. MyLA doesn't have the need to do this yet since the PROD JS file that is generated main-4abb51f066094585825d.js (974 KiB) is still less. But as project keep growing this might be an issue in future so split chunk is solution we just need to investigate on this and come up with a right design

and also think about alternative options to django-webpack-loader

  1. https://github.com/shonin/django-manifest-loader
  2. https://pascalw.me/blog/2020/04/19/webpack-django.html

pushyamig avatar Jan 05 '21 19:01 pushyamig

There is a fix for this based on work done for CAE.

jennlove-um avatar Oct 12 '22 19:10 jennlove-um