Make the main process webpack externalize and warn when including UI

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      WebPack has been setup for the main process so we don't have to spend time configuring two build environments (one for the main process and one for the renderer) - but makes it possible for the main script to require parts of our code-base which is clearly not intended for that process.

      We should at least make sure UI components are not bundled into the main bundle if imported by accident - and in addition to this, we might want to warn the developer (when building) if the UI specific code is imported by accident.

              Assignee:
              Unassigned
              Reporter:
              Unito Sync Bot
              Archiver:
              Marc Greenfield

                Created:
                Updated:
                Resolved:
                Archived: