github lynx-family/lynx-stack @lynx-js/rspeedy@0.9.11

latest releases: @lynx-js/offscreen-document@0.1.4, @lynx-js/cache-events-webpack-plugin@0.0.2, @lynx-js/web-constants@0.16.0...
2 months ago

Patch Changes

  • 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
        },
      },
    })
  • docs: remove chunks: 'all' in comments (#1168)

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.