-
Type: Task
-
Resolution: Unresolved
-
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.