Building Omega Apps
Final output of any application
Last updated
Final output of any application
Last updated
Omega for web, by default uses the Vite code bundler. Since OmegaJS is not compiled due to absence of any compiler-specific constructs, and purely uses the programming language, Javascript, the final build step does not involve any compilation step.
This generally reduces build times and bundle sizes, and is also faster to debug and rebuild for prototype applications as well.
For any other platforms, Omega will use the default platform-specific bundler. For example:
ElectronJS -> Will use the electron bundler and Vite.
CapacitorJS -> Will use the default bundler for Capacitor.
Given that omega is a javascript library, any bundler like Webpack or Rollup are equally compatible when bundling OmegaJS.
Ultimately, how omega is build depends on the developer's wish. They can use any tool in their disposal, because anything that works with pure javascript, works with OmegaJS.