1.0.5 • Published 2 years ago

tuum v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

🛠 Tuum

Estonian word for "core", it should be set of tools to build modern web apps. It's also an alternative build approach with esbuild for Vite.

Installation

npm i

Build (esbuild)

npx tuum

or separately

npx tuum styles
npx tuum scripts

Serve (vite)

npx vite

Default config (vite.config.js)

  tuum: {
    outDir: "./dist",
    styles: {
      input: "./main.css",
      plugins: [],
      cleanCss: {
        inline: [ 'all' ],
        level: { '1': { specialComments: 0 }, '2': { all: true } }
      }
    },
    scripts: {
      input: "./main.js",
      plugins: []
    }
  }