@Stability(value=Experimental) @Internal public static final class AddBundleOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AddBundleOptions
AddBundleOptionssoftware.amazon.jsii.JsiiObject.InitializationModeAddBundleOptions.Builder, AddBundleOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(AddBundleOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
AddBundleOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getExternals()
(experimental) You can mark a file or a package as external to exclude it from your build.
|
String |
getPlatform()
(experimental) esbuild platform.
|
Boolean |
getSourcemap()
(experimental) Include a source map in the bundle.
|
String |
getTarget()
(experimental) esbuild target.
|
Boolean |
getWatchTask()
(experimental) In addition to the `bundle:xyz` task, creates `bundle:xyz:watch` task which will invoke the same esbuild command with the `--watch` flag.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(AddBundleOptions.Builder builder)
AddBundleOptions.Builder.public final String getPlatform()
AddBundleOptionsExample:
// Example automatically generated from non-compiling source. May contain errors. "node"
getPlatform in interface AddBundleOptionspublic final String getTarget()
AddBundleOptionsExample:
// Example automatically generated from non-compiling source. May contain errors. "node12"
getTarget in interface AddBundleOptionspublic final List<String> getExternals()
BundlingOptionsInstead of being bundled, the import will be preserved (using require for the iife and cjs formats and using import for the esm format) and will be evaluated at run time instead.
This has several uses. First of all, it can be used to trim unnecessary code from your bundle for a code path that you know will never be executed. For example, a package may contain code that only runs in node but you will only be using that package in the browser. It can also be used to import code in node at run time from a package that cannot be bundled. For example, the fsevents package contains a native extension, which esbuild doesn't support.
Default: []
getExternals in interface BundlingOptionspublic final Boolean getSourcemap()
BundlingOptionsDefault: false
getSourcemap in interface BundlingOptionspublic final Boolean getWatchTask()
BundlingOptionsThis can be used to continusouly watch for changes.
Default: true
getWatchTask in interface BundlingOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.