Patch Changes
-
Support
server.proxy
. (#1745) -
Support
command
andenv
parameters in the function exported bylynx.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 betweentsconfig.json
paths andresolve.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