BrowserComponentsHmrTransformOptions
Summary
Options for rewriting browser component modules.
Signature
interface BrowserComponentsHmrTransformOptions {
importSource: UiHmrImportSource
moduleUrl: string
sourceMap?: boolean
}
Properties
importSource
Package prefix used to generate UI refresh and browser HMR runtime imports.
moduleUrl
Stable public URL used to identify this module across browser updates.
This must match the URL by which the browser imports the module, excluding transient cache busting parameters.
sourceMap
Whether to generate a source map for rewritten code. (false)