Skip to content
Source
Sign inSign up
TanStack/router

refactor(start): streamline Rsbuild environment configuration #8137

OpenSyMind(GitHub profile, opens in a new tab)wants to merge 13 commits intomain fromrefs/pull/8137/headopened

Showing 19 changed files with 34 additions and 18 deletions (loading 16).

x
0 of 19 viewed, 19 left
3 additions and 10 deletionsbenchmarks/bundle-size/scenarios/react-start-minimal/rsbuild.config.tsModified
View file
@@ -4,19 +4,10 @@
​
const outDir = process.env.BUNDLE_SIZE_DIST_DIR ?? 'dist-rsbuild'
const clientOutput = process.env.BUNDLE_SIZE_RSB_CLIENT_OUTPUT
-const startOptions = clientOutput
- ? {
- rsbuild: {
- client: {
- output: clientOutput as 'module' | 'iife',
- },
- },
- }
- : undefined
​
export default defineConfig({
logLevel: 'silent',
- plugins: [pluginReact(), tanstackStart(startOptions)],
+ plugins: [pluginReact(), tanstackStart()],
output: {
distPath: {
root: outDir,
@@ -31,6 +22,8 @@
environments: {
client: {
output: {