Parcel
Deploy Parcel-bundled static sites on Hostinger, covering the source entry HTML, build script, dist output directory, and multi-page app configuration.
Zero-config bundler. Point it at an HTML entry and it produces a production bundle.
app_type: parcel
Static mode
Parcel on Hostinger is always static.
package.json
{
"source": "src/index.html",
"scripts": {
"start": "parcel",
"build": "parcel build"
},
"devDependencies": {
"parcel": "^2.0.0"
}
}"source" tells Parcel where your entry HTML lives. Alternatively, pass the path as an argument to the script:
{
"scripts": {
"build": "parcel build src/index.html"
}
}hPanel settings
Application type
parcel
Build script
build
Output directory
dist
Entry file
— (static)
Server mode
Parcel builds static bundles only. For SSR, use a framework that includes a server (e.g. Next.js) or write a custom Node server and use other as the application type.
Notes
Parcel caches builds in
.parcel-cache/— safe to keep out of your archive (it's regenerated).For multi-page apps, list additional entries in
"source"as an array.
Last updated: July 22, 2026
Last updated
Was this helpful?