Our software supports multiple languages. If you wish to add your own custom language analysis, the analysis file needs to be available on the window. There are two ways to include the right language analysis JS file:
Make a custom language file yourself and assign it to the window. E.g.
window.yoast.researcher = specific researcher;
Configure webpack the way we have; in that case webpack will create the files for you.