FaasJS
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文

Documents / @faasjs/vite

@faasjs/vite

FaasJS's vite plugin.

License: MITNPM Version

Install

npm install @faasjs/vite

Usage

Add to vite.config.ts

import { viteFaasJsServer } from '@faasjs/vite'

export default defineConfig({
  plugins: [
    viteFaasJsServer() // add this line
  ],
})

Options

See ViteFaasJsServerOptions for more options.

Functions

  • viteFaasJsServer

Type Aliases

  • ViteFaasJsServerOptions