Class BundlerOptions.Jsii$Proxy

  • All Implemented Interfaces:
    BundlerOptions, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    BundlerOptions

    @Stability(Experimental)
    @Internal
    public static final class BundlerOptions.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements BundlerOptions
    An implementation for BundlerOptions
    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getEsbuildVersion

        public final String getEsbuildVersion()
        Description copied from interface: BundlerOptions
        (experimental) The semantic version requirement for esbuild.

        Default: - no specific version (implies latest)

        Specified by:
        getEsbuildVersion in interface BundlerOptions
      • getLoaders

        public final Map<String,​String> getLoaders()
        Description copied from interface: BundlerOptions
        (experimental) Map of file extensions (without dot) and loaders to use for this file type.

        Loaders are appended to the esbuild command by --loader:.extension=loader

        Specified by:
        getLoaders in interface BundlerOptions
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object