For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/runtime-wrapper-webpack-plugin.runtimewrapperwebpackpluginoptions.test.md.
This is the dev preview website. Check out the document at lynx-stack.dev

Home > @lynx-js/runtime-wrapper-webpack-plugin > RuntimeWrapperWebpackPluginOptions > test

RuntimeWrapperWebpackPluginOptions.test property

Wrap the emitted JS assets whose filenames match this condition. Assets marked as main thread are never wrapped.

Signature:

test: Extract<BannerPluginArgument, {
        banner: unknown;
    }>['test'];

Default Value

/\.js$/