Versions in this module Expand all Collapse all v0 v0.0.3 May 16, 2022 v0.0.2 May 16, 2022 v0.0.1 May 16, 2022 Changes in this version + const VERSION + func Serve(efs EmbedFS) + type BuildOutput struct + type BuildQueue struct + func (q *BuildQueue) Add(task *BuildTask) *BuildQueueConsumer + func (q *BuildQueue) Len() int + func (q *BuildQueue) RemoveConsumer(task *BuildTask, c *BuildQueueConsumer) + type BuildQueueConsumer struct + C chan BuildOutput + type BuildTask struct + Alias map[string]string + BuildVersion int + BundleMode bool + CdnOrigin string + Deps PkgSlice + DevMode bool + NoRequire bool + Pkg Pkg + Target string + func (task *BuildTask) Build() (esm *ModuleMeta, err error) + func (task *BuildTask) CopyDTS(dts string, buildVersion int) (n int, err error) + func (task *BuildTask) ID() string + type EmbedFS interface + ReadFile func(name string) ([]byte, error) + type ModuleMeta struct + CJS bool + Dts string + ExportDefault bool + Exports []string + PackageCSS bool + TypesOnly bool + type NSTask struct + type Node struct + type NpmPackage struct + DefinedExports interface{} + Dependencies map[string]string + Es2015 string + JsnextMain string + Main string + Module string + Name string + PeerDependencies map[string]string + Type string + Types string + Typings string + Version string + type NpmPackageVerions struct + DistTags map[string]string + Versions map[string]NpmPackage + type OldMeta struct + Dts string + ExportDefault bool + Exports []string + PackageCSS bool + type Pkg struct + Name string + Submodule string + Version string + func (m Pkg) Equels(other Pkg) bool + func (m Pkg) ImportPath() string + func (m Pkg) String() string + type PkgSlice []Pkg + func (a PkgSlice) Get(name string) (Pkg, bool) + func (a PkgSlice) Has(name string) bool + func (a PkgSlice) Len() int + func (a PkgSlice) Less(i, j int) bool + func (a PkgSlice) String() string + func (a PkgSlice) Swap(i, j int)