Documentation
¶
Index ¶
- type Bundler
- func (b *Bundler) BundleScripts(comp *parser.Component, pagePath string) (string, error)
- func (b *Bundler) BundleStyles(comp *parser.Component, pagePath string) (string, error)
- func (b *Bundler) BundleWasmScripts(comp *parser.Component, pagePath string) ([]WasmAsset, error)
- func (b *Bundler) GenerateScopeID(pagePath string) string
- func (b *Bundler) InjectAssets(html, cssPath, jsPath, scopeID string) string
- func (b *Bundler) InjectAssetsWithWasm(html, cssPath, jsPath, scopeID string, wasmAssets []WasmAsset) string
- type WasmAsset
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bundler ¶
type Bundler struct {
DevMode bool
OutDir string
PluginManager *plugins.Manager
WasmCompiler *wasm.Compiler
}
func NewBundler ¶
func (*Bundler) BundleScripts ¶
func (*Bundler) BundleStyles ¶
func (*Bundler) BundleWasmScripts ¶
func (*Bundler) GenerateScopeID ¶
func (*Bundler) InjectAssets ¶
Click to show internal directories.
Click to hide internal directories.