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

latest releases: @lynx-js/web-style-transformer@0.16.1, @lynx-js/web-core@0.16.1, @lynx-js/react-alias-rsbuild-plugin@0.10.14...
16 hours ago

Patch Changes

  • Support server.proxy. (#1745)

  • Support command and env parameters in the function exported by lynx.config.js. (#1669)

    import { defineConfig } from '@lynx-js/rspeedy'
    
    export default defineConfig(({ command, env }) => {
      const isBuild = command === 'build'
      const isTest = env === 'test'
    
      return {
        output: {
          minify: !isTest,
        },
        performance: {
          buildCache: isBuild,
        },
      }
    })
  • Support resolve.dedupe. (#1671)

    This is useful when having multiple duplicated packages in the bundle:

    import { defineConfig } from '@lynx-js/rspeedy'
    
    export default defineConfig({
      resolve: {
        dedupe: ['tslib'],
      },
    })
  • Support resolve.aliasStrategy for controlling priority between tsconfig.json paths and resolve.alias (#1722)

    import { defineConfig } from '@lynx-js/rspeedy'
    
    export default defineConfig({
      resolve: {
        alias: {
          '@': './src',
        },
        // 'prefer-tsconfig' (default): tsconfig.json paths take priority
        // 'prefer-alias': resolve.alias takes priority
        aliasStrategy: 'prefer-alias',
      },
    })
  • Bump Rsbuild v1.5.4 with Rspack v1.5.2. (#1644)

  • Updated dependencies [d7c5da3]:

    • @lynx-js/chunk-loading-webpack-plugin@0.3.3
    • @lynx-js/cache-events-webpack-plugin@0.0.2

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.