@Stability(value=Experimental) @Internal public static final class ReactComponentOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ReactComponentOptions
ReactComponentOptionssoftware.amazon.jsii.JsiiObject.InitializationModeReactComponentOptions.Builder, ReactComponentOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(ReactComponentOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ReactComponentOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Map<String,Object> |
getRewire()
(experimental) Rewire webpack configuration.
|
Boolean |
getTypescript()
(experimental) Whether to apply options specific for TypeScript React projects.
|
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(ReactComponentOptions.Builder builder)
ReactComponentOptions.Builder.public final Boolean getTypescript()
ReactComponentOptionsDefault: false
getTypescript in interface ReactComponentOptionspublic final Map<String,Object> getRewire()
ReactRewireOptionsUse this property to override webpack configuration properties provided by create-react-app, without needing to eject.
This property will create a config-overrides.js file in your root directory,
which will contain the desired rewiring code.
To override the configuration, you can provide simple key value pairs. Keys take the form of js code directives that traverse to the desired property. Values should be JSON serializable objects.
For example, the following config:
rewire: { "module.unknownContextCritical": false }
Will translate to the following config-overrides.js file:
module.exports = function override(config, env) {
config.module.unknownContextCritical = false;
}
Default: - No rewired config.
getRewire in interface ReactRewireOptionshttps://github.com/timarney/react-app-rewired@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.