Home > @lynx-js/runtime-wrapper-webpack-plugin > RuntimeWrapperWebpackPluginOptions
The options for RuntimeWrapperWebpackPluginOptions
Signature:
Property | Modifiers | Type | Description |
---|---|---|---|
bannerType | (filename: string) => 'script' | 'bundle' | There are two types of banners: script(for app-service) and bundle(for js-render). You can decide to use which banner by the filename. | |
experimental_isLazyBundle? | boolean | (Optional) Generate standalone lazy bundle. | |
injectVars? | ((vars: string[]) => string[]) | string[] | (Optional) The variables to be injected into the chunk. | |
targetSdkVersion | string | targetSdkVersion is used to specify the minimal Lynx Engine version that a App bundle can run on. | |
test | BannerPlugin['options']['test'] | Include all modules that pass test assertion. |