package runtime

import "github.com/evanw/esbuild/internal/runtime"

Index

Constants

const SourceIndex = uint32(0)

The runtime source is always at a special index. The index is always zero but this constant is always used instead to improve readability and ensure all code that references this index can be discovered easily.

Functions

func Source

func Source(unsupportedJSFeatures compat.JSFeature) logger.Source

Source Files

runtime.go

Version
v0.25.0 (latest)
Published
Feb 8, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
4 days ago

Tools for package owners.