Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Asset ¶
type Asset struct {
Files []string
Filters []Filter
SassCompiler SassCompiler
Output string
ShowVersion bool
}
type AssetsHook ¶
func (*AssetsHook) AfterBuild ¶
写入收集的文件
func (*AssetsHook) BeforeBuild ¶
func (h *AssetsHook) BeforeBuild() error
func (*AssetsHook) HandleTemplateSet ¶
func (h *AssetsHook) HandleTemplateSet(set template.TemplateSet) (template.TemplateSet, error)
type DartSassCompiler ¶ added in v0.1.8
type DartSassCompiler struct{}
func (*DartSassCompiler) Name ¶ added in v0.1.8
func (c *DartSassCompiler) Name() string
type ImageFilter ¶ added in v0.1.8
func (*ImageFilter) Execute ¶ added in v0.1.8
func (f *ImageFilter) Execute(buf []byte) ([]byte, error)
func (*ImageFilter) Name ¶ added in v0.1.8
func (f *ImageFilter) Name() string
type LibSassCompiler ¶ added in v0.1.8
type LibSassCompiler struct{}
func (*LibSassCompiler) Name ¶ added in v0.1.8
func (c *LibSassCompiler) Name() string
type MinifyFilter ¶ added in v0.1.8
type MinifyFilter struct {
// contains filtered or unexported fields
}
func (*MinifyFilter) Execute ¶ added in v0.1.8
func (f *MinifyFilter) Execute(buf []byte) (result []byte, err error)
func (*MinifyFilter) Name ¶ added in v0.1.8
func (f *MinifyFilter) Name() string
Click to show internal directories.
Click to hide internal directories.