static

package
v0.0.0-...-d97b457 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package static is the planner of static files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDockerfile

func GenerateDockerfile(meta types.PlanMeta) (string, error)

GenerateDockerfile generates the Dockerfile for static files.

func NewIdentifier

func NewIdentifier() plan.Identifier

NewIdentifier returns a new static site generator identifier.

func NewPacker

func NewPacker() packer.Packer

NewPacker returns a new static packer.

func TransformServerless

func TransformServerless(workdir string, meta types.PlanMeta) error

TransformServerless copies the static files from output to .zeabur/output/static and creates a config.json file for SPA

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL