Documentation
¶
Index ¶
- func DeleteProcessor(bundle *compactor.Bundle) error
- func FindConfig(path string) string
- func InitProcessor(bundle *compactor.Bundle) error
- func Plugin() *compactor.Plugin
- func RenameDestination(bundle *compactor.Bundle, item *compactor.Item, from string, to string) error
- func RunProcessor(bundle *compactor.Bundle) error
- type TSConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteProcessor ¶ added in v0.0.4
DeleteProcessor
func FindConfig ¶ added in v0.0.11
Find user defined TypeScript config file
func InitProcessor ¶ added in v0.0.6
Init processor
func RenameDestination ¶ added in v0.0.11
func RenameDestination(bundle *compactor.Bundle, item *compactor.Item, from string, to string) error
Rename destination file
func RunProcessor ¶ added in v0.0.4
Typescript processor
Types ¶
type TSConfig ¶ added in v0.0.11
type TSConfig struct { CompilerOptions map[string]interface{} `json:"compilerOptions,omitempty"` Exclude []string `json:"exclude,omitempty"` Extends string `json:"extends,omitempty"` Files []string `json:"files,omitempty"` Include []string `json:"include,omitempty"` References []string `json:"references,omitempty"` }
TSConfig struct
Click to show internal directories.
Click to hide internal directories.