svelte

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SveltePlugin

type SveltePlugin struct {
	// contains filtered or unexported fields
}

func New

func New() *SveltePlugin

func (*SveltePlugin) BuildEnd

func (p *SveltePlugin) BuildEnd(ctx *plugins.BuildContext) error

func (*SveltePlugin) BuildStart

func (p *SveltePlugin) BuildStart(ctx *plugins.BuildContext) error

func (*SveltePlugin) InjectTags

func (p *SveltePlugin) InjectTags() []plugins.HTMLTag

func (*SveltePlugin) Name

func (p *SveltePlugin) Name() string

func (*SveltePlugin) Setup

func (p *SveltePlugin) Setup(ctx *plugins.SetupContext) error

func (*SveltePlugin) TransformCSS

func (p *SveltePlugin) TransformCSS(css string, filePath string) (string, error)

func (*SveltePlugin) TransformJS

func (p *SveltePlugin) TransformJS(js string, filePath string) (string, error)

Jump to

Keyboard shortcuts

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