reactbuilder

package
v0.0.0-...-c14a31e Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 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 GenerateServerBuildContents

func GenerateServerBuildContents(imports []string, filePath string, useLayout bool) (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 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