Mobile Development · head to head
Apache Cordova vs esbuild

Apache Cordova
Mobile Development
Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps
- From
- Free
- Free plan
- Yes

esbuild
Web Development
Extremely fast JavaScript bundler written in Go
- From
- Free
- Free plan
- Yes
The short version
- Both are free.
- Only Apache Cordova lists targets iOS, Android and Electron; only esbuild lists very fast builds.
- Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
- Where esbuild falls short: deliberately does not type-check TypeScript, only strips types, so tsc still runs separately.
How do Apache Cordova and esbuild differ?
Apache Cordova and esbuild differ on pricing model, platforms and category (Mobile Development against Web Development). Only the attributes on which Apache Cordova and esbuild actually diverge.
| Attribute | Apache Cordova | esbuild |
|---|---|---|
| Pricing model | Open-source | Open source, no licence fee |
| Platforms | iOS, Android, Windows, macOS, Linux | Linux, macOS, Windows |
| Category | Mobile Development | Web Development |
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: founded for esbuild.
Which features does each one have?
They share no listed features; 6 appear only for Apache Cordova and 4 only for esbuild. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Apache Cordova
- Single JavaScript API for device functions
- Plugin system managed from the command line
- Targets iOS, Android and Electron
- HTML, CSS and JavaScript app code
- Apache 2.0 open source licence
- Platform feature support documentation
Only in esbuild
- Very fast builds
- TypeScript support
- Tree shaking and minification
- Simple API
What is each one used for?
Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; esbuild for build pipelines where bundle time is the bottleneck. The jobs each tool is most often brought in to do.
Apache Cordova
- Wrapping an existing web app as a mobile appnot esbuild
- Single codebase for iOS and Androidnot esbuild
- Prototyping mobile apps with web skillsnot esbuild
- Accessing device features from JavaScript through pluginsnot esbuild
esbuild
- Build pipelines where bundle time is the bottlenecknot Apache Cordova
- Libraries and tools needing a fast, embeddable bundlernot Apache Cordova
- Replacing slower bundlers where the plugin ecosystem is not needednot Apache Cordova
Where do Apache Cordova and esbuild fall short?
Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. esbuild's: deliberately does not type-check TypeScript, only strips types, so tsc still runs separately. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Apache Cordova
- Apps render in a web view, so UI is not native by default
- No built-in UI component library or hosted build service
- Adobe's PhoneGap Build cloud service was discontinued in 2020
- Many platforms listed in older versions, such as BlackBerry and Tizen, are no longer supported
esbuild
- Deliberately does not type-check TypeScript, only strips types, so tsc still runs separately
- Plugin API is far narrower than webpack or Rollup, and complex builds hit its limits
- Code splitting support has historically lagged the more established bundlers
- Frequently used indirectly through Vite, so direct use is a narrower need than the download numbers suggest
- No type checking in the core; TypeScript projects must run tsc separately
How much do Apache Cordova and esbuild cost?
Apache Cordova is free to use; esbuild is free to use. Plan by plan below, from each vendor's own pricing page.
Apache Cordova
FreeNo published plan breakdown. See the Apache Cordova review.
esbuild
Free- esbuildFree
- Full functionality
- Commercial use permitted
- Community support
Which should you pick?
Choose Apache Cordova if
- You need single javascript api for device functions.
- You want to start without paying.
- You work on iOS, Android, Windows, macOS, Linux.
- You also want plugin system managed from the command line.
Choose esbuild if
- You need very fast builds.
- You want to start without paying.
- You work on Linux, macOS, Windows.
- You also want typescript support.
Questions people ask
- Is Apache Cordova or esbuild better?
- It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; esbuild fits build pipelines where bundle time is the bottleneck. Apache Cordova starts at Free and esbuild at Free.
- Which is cheaper, Apache Cordova or esbuild?
- Apache Cordova starts at Free and esbuild at Free.
- Does Apache Cordova or esbuild run on more platforms?
- Apache Cordova runs on iOS, Android, Windows, macOS, Linux. esbuild runs on Linux, macOS, Windows.
- Can I use Apache Cordova for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Apache Cordova best used for?
- Apache Cordova is most often used for wrapping an existing web app as a mobile app, single codebase for ios and android, prototyping mobile apps with web skills, accessing device features from javascript through plugins. Of those, wrapping an existing web app as a mobile app and single codebase for ios and android are not what esbuild is typically brought in for.
- What can Apache Cordova do that esbuild cannot?
- Apache Cordova covers Single JavaScript API for device functions, Plugin system managed from the command line, Targets iOS, Android and Electron, HTML, CSS and JavaScript app code. esbuild covers Very fast builds, TypeScript support, Tree shaking and minification, Simple API.
Answered from the vendors’ own pages
Apache Cordova: Is Apache Cordova free?
Yes. The project describes itself as free and open source under the Apache License 2.0, maintained by the Apache Software Foundation.
Sourceesbuild: Is esbuild free?
Yes, open source under the MIT licence.
Apache Cordova: How is Cordova related to PhoneGap?
Nitobi Software developed PhoneGap in 2008 and Adobe acquired Nitobi in October 2011. The code was contributed to Apache and renamed Cordova.
Sourceesbuild: Does esbuild type-check TypeScript?
No. It strips types for speed and does not check them. Run tsc separately if you need type checking.
Apache Cordova: Which platforms does Cordova support?
As of version 11, iOS, Android, Windows 8.1, Windows Phone 8.1, Windows 10 and Electron are listed on Wikipedia. The project site has a page of per-platform feature support.
Sourceesbuild: Do I need esbuild if I use Vite?
You already have it. Vite uses esbuild internally for dependency pre-bundling and transforms.
Related pages
More on Apache Cordova
Other head to heads
- Apache Cordova vs React Native
- Apache Cordova vs Ionic
- Apache Cordova vs Flutter
- Apache Cordova vs NativeScript
- Apache Cordova vs Xcode
- Apache Cordova vs Sencha
- Apache Cordova vs Kotlin Multiplatform
- Apache Cordova vs Maestro
- Apache Cordova vs Bitrise
- Apache Cordova vs Codemagic
- Apache Cordova vs .NET MAUI
- Apache Cordova vs EAS Build
- Apache Cordova vs Appcircle
- Apache Cordova vs OneSignal
- Apache Cordova vs Capacitor
- Apache Cordova vs Firebase
- Apache Cordova vs Expo
- Apache Cordova vs Android Studio
- Apache Cordova vs Turbopack
- Apache Cordova vs Rollup
- Apache Cordova vs Babel
- Apache Cordova vs SolidJS
- Apache Cordova vs Preact
- Apache Cordova vs Lighthouse
- Apache Cordova vs Qwik
- Apache Cordova vs Svelte
- Apache Cordova vs Flask
- Apache Cordova vs Hugo
- Apache Cordova vs Express.js
- Apache Cordova vs FastAPI
- Apache Cordova vs Sass
- Apache Cordova vs Symfony
- Apache Cordova vs Vuetify
- Apache Cordova vs Docusaurus
- Apache Cordova vs Django
- Apache Cordova vs Next.js
- esbuild vs React Native
- esbuild vs Ionic
- esbuild vs Flutter
- esbuild vs NativeScript
- esbuild vs Xcode
- esbuild vs Sencha
- esbuild vs Kotlin Multiplatform
- esbuild vs Maestro
- esbuild vs Bitrise
- esbuild vs Codemagic
- esbuild vs .NET MAUI
- esbuild vs EAS Build
- esbuild vs Appcircle
- esbuild vs OneSignal
- esbuild vs Capacitor
- esbuild vs Firebase
- esbuild vs Expo
- esbuild vs Android Studio
- esbuild vs Turbopack
- esbuild vs Rollup
- esbuild vs Babel
- esbuild vs SolidJS
- esbuild vs Preact
- esbuild vs Lighthouse
- esbuild vs Qwik
- esbuild vs Svelte
- esbuild vs Flask
- esbuild vs Hugo
- esbuild vs Express.js
- esbuild vs FastAPI
- esbuild vs Sass
- esbuild vs Symfony
- esbuild vs Vuetify
- esbuild vs Docusaurus
- esbuild vs Django
- esbuild vs Next.js
