Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

DenoAppResource.WithDenoImportMap

Method
📦 Aspire.Hosting.JavaScript v17.0.0
type DenoAppResource interface {
// ... omitted for brevity
WithDenoImportMap(importMapFile string) DenoAppResource
}

Signature

methodWithDenoImportMapbuilder
Sets --import-map <file>.
WithDenoImportMap(importMapFile string) DenoAppResource
importMapFilestringThe import map file path.
DenoAppResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: