Home > @lynx-js/template-webpack-plugin > LynxTemplatePluginOptions
The options for LynxTemplatePlugin
Signature:
Property | Modifiers | Type | Description |
---|---|---|---|
chunks? | 'all' | string[] | (Optional) List all entries which should be injected | |
cssPlugins | CSS.Plugin[] | plugins passed to parser | |
customCSSInheritanceList | string[] | undefined | When is enabled, customCSSInheritanceList can control which properties are inheritable, not just the default ones. | |
debugInfoOutside | boolean | debugInfoOutside controls whether the debug info is placed outside the template. | |
defaultDisplayLinear | boolean | defaultDisplayLinear controls whether the default value of display in CSS is linear . | |
defaultOverflowVisible? | boolean | (Optional) When enabled, the default overflow CSS property for views and components will be 'visible' . Otherwise, it will be 'hidden' . | |
dsl? | 'tt' | 'react' | 'react_nodiff' | (Optional) Declare the current dsl to the encoder. | |
enableA11y | boolean | Use Android View level APIs and system implementations. | |
enableAccessibilityElement | boolean | enableAccessibilityElement set the default value of accessibility-element for all <view /> elements. | |
enableCSSInheritance | boolean | enableCSSInheritance enables the default inheritance properties. | |
enableCSSInvalidation | boolean | CSS Invalidation refers to the process of determining which elements need to have their styles recalculated when the DOM is updated. | |
enableCSSSelector | boolean | enableCSSSelector controls whether enabling the new CSS implementation. | |
enableICU | boolean | enableICU enables the Intl API to be enabled globally. If enabled, please double check the compatibility with Lynx Share Context feature to avoid using shared Intl API from other destroyed card. | |
enableNewGesture | boolean | enableNewGesture enables the new gesture system. | |
enableParallelElement? | boolean | (Optional) enableParallelElement enables Threaded Element Resolution. | |
enableRemoveCSSScope | boolean | enableRemoveCSSScope controls whether CSS is restrict to use in the component scope.
| |
excludeChunks? | string[] | (Optional) List all entries which should not be injected | |
experimental_isLazyBundle? | boolean | (ALPHA) (Optional) Generate standalone lazy bundle. | |
filename? | string | ((entryName: string) => string) | (Optional) The file to write the template to. Supports subdirectories eg: assets/template.js . [name] will be replaced by the entry name. Supports a function to generate the name. | |
intermediate? | string | (Optional) The output directory of the intermediate files. | |
lazyBundleFilename? | string | (Optional) The filename of the lazy bundle. | |
pipelineSchedulerConfig | number | Composite configuration representing pipeline scheduling strategies, including and list batch-rendering. All newly introduced scheduling strategies will be managed by this uint64 configuration. | |
removeDescendantSelectorScope | boolean | removeDescendantSelectorScope is used to remove the scope of descendant selectors. | |
targetSdkVersion | string | targetSdkVersion is used to specify the minimal Lynx Engine version that a App bundle can run on. |