Open plinto
Docs›Languages

Web apps

Language·2 min read
In one sentence

NodeWeb type-checks your TypeScript, builds the app with Vite and tests it with Vitest. plinto run serves it while you work.

Build systemNodeWeb
Start oneplinto create node-web HelloWeb
Ships asthe built site, a folder of static files

The project

index.html sits next to plinto.conf, the code in src/ and static files in public/. Your own vite.config.ts is used when there is one.

plinto.conf
{
  name = HelloWeb
  version = 1.0
  build = NodeWeb

  build-dependencies: {
    NodeWeb = 1.0
    Node = 24
    TypeScript = 7
    Vite = 8
  }
  dependencies: {
    HelloTsLib = 1.0     # a TypeScript library, shared with a service
  }
  test-dependencies: {
    Vitest = 5
  }
}

Run it

$ plinto run

starts Vite's dev server, which reloads the page as you change the code.

What it releases

vite build writes the site to build/web, and the release is that folder: HelloWeb-1.0.tar.gz.