Patch Changes
-
Avoid IIFE in
main-thread.js
to resolve memory leak when using<list />
. (#1176) -
Enable fine-grained control for
output.inlineScripts
(#883)type InlineChunkTestFunction = (params: { size: number name: string }) => boolean type InlineChunkTest = RegExp | InlineChunkTestFunction type InlineChunkConfig = | boolean | InlineChunkTest | { enable?: boolean | 'auto', test: InlineChunkTest }
import { defineConfig } from '@lynx-js/rspeedy' export default defineConfig({ output: { inlineScripts: ({ name, size }) => { return name.includes('foo') && size < 1000 }, }, })
-
Updated dependencies [
51cb73d
,69fb042
,a7e8b5b
]:- @lynx-js/runtime-wrapper-webpack-plugin@0.1.2
- @lynx-js/template-webpack-plugin@0.8.1
- @lynx-js/react-webpack-plugin@0.6.17
- @lynx-js/react-alias-rsbuild-plugin@0.10.5
- @lynx-js/use-sync-external-store@1.5.0
- @lynx-js/react-refresh-webpack-plugin@0.3.3
- @lynx-js/css-extract-webpack-plugin@0.6.0