IntelliJ Elm Plugin future

I will try to be more specific:
We have 2 entry points in our project, one to run the application and the other one is a stripped down version that is used to render PDFs with puppeteer. When we open files that are imported both from ConsumerApp.elm and CertificatePdf.elm, the compiler only compiles CertificatePdf.elm, so we are not able find all compilation errors related to the usages related to ConsumerApp.elm unless we temporarily rename main into main1 inside the CertificatePdf.elm file.