plugins

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 4, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CdnDependencyPlugin added in v0.0.4

func CdnDependencyPlugin(depsYaml string) func(*gv.ContainerPlugin)

func JsResolver added in v0.0.4

func JsResolver(cp *gv.ContainerPlugin)

TODO: resolve default to `index.js` if exists e.g import Mod from "./page"; // where `page` dir has index.js

func SveltePlugin added in v0.0.4

func SveltePlugin(cp *gv.ContainerPlugin)

Types

type CdnDependencyConfig

type CdnDependencyConfig struct {
	Packages []CdnDependencyPackage `yaml:"packages"`
}

type CdnDependencyPackage

type CdnDependencyPackage struct {
	Name string `yaml:"name"`
	URL  string `yaml:"url"`
}

Jump to

Keyboard shortcuts

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