I’m trying to distribute
jupyterlab-ihaskell as a prebuilt extension that is automatically installed by my Haskell package. I’ve been able to generate a prebuilt extension, but the output filenames contain more than one dot, which is a problem because of this silly bug that I can’t work around without dropping support for most of the older versions of GHC that I otherwise have no problem maintaining compatibility with. It looks like the JupyterLab configuration allows a custom Webpack config which is merged with the prebuilt config so I think that might be a viable way for me to control the output filenames so that they only have one dot, which would allow me to bundle the prebuilt extension with my Haskell package. I should mention that I already tried passing the
--dev-build flags when building my extension but they didn’t seem to have any effect.
tl;dr: can someone help me write a webpack config for my jupyterlab prebuilt extension that produces output filenames with only a single dot, for reasons ?