Most blocks built into edx-platform have a pair of webpack entry
points, like this:
* {BlockName}Display # js for student+author+public views
* {BlockName}Editor # js for studio view
Prior to a past build refactoring [1], these entry points were
defined in an auto-genered webpack config file. In order
to simplify the js build process, this config generation
step was removed and the new file webpack.builtinblocks.config.js
was checked directly into edx-platform.
However, during that refactoring, pointless entry
points were introduced for HtmlBlock subclasses
About, CourseInfo, and StaticTab, all of which
just use their superclass's JS.
[1] https://github.com/openedx/edx-platform/issues/32481
3.6 KiB
3.6 KiB