Skip to content

GavinBirkhoff/swiftlet

Repository files navigation

Swiftlet

Web dev build tool

Usage

Install the package:

npm install --save-dev swiftlet

yarn add --dev swiftlet

pnpm add --save-dev swiftlet

Create a swiftlet.config.js file in your project root:

const path = require('path')
const { defineConfig } = require('swiftlet')

const input = path.resolve('./src/', 'index.js')

module.exports = {
  input,
  target: ['esm', 'cjs', 'umd'],
  outDir: './dist'
}

CLI

Start building an app

swiftlet build
Usage: swiftlet [options] [command]

Web dev build tool

Options:
  -v, --version   output the version number
  -h, --help      display help for command

Commands:
  build           build an app
  help [command]  display help for command

About

Web dev build tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published