reactbuilder

package
v0.0.0-...-dd45212 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateClientBuildContents

func GenerateClientBuildContents(imports []string, filePath string, useLayout bool) (string, error)

func GenerateRawClientBuildContents

func GenerateRawClientBuildContents(imports []string, filePath string, useLayout bool) (string, error)

func GenerateServerBuildContents

func GenerateServerBuildContents(imports []string, filePath string, useLayout bool, location string) (string, error)

Types

type BuildResult

type BuildResult struct {
	JS           string
	CSS          string
	Dependencies []string
}

func BuildClient

func BuildClient(buildContents, frontendDir, assetRoute string) (BuildResult, error)

func BuildClientRaw

func BuildClientRaw(buildContents, frontendDir, assetRoute string) (BuildResult, error)

func BuildServer

func BuildServer(buildContents, frontendDir, assetRoute string) (BuildResult, error)

Jump to

Keyboard shortcuts

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