#Client assets (styles/bundles) aren't loaded when using bun preset

10 messages · Page 1 of 1 (latest)

rotund tendon
#

Hey guys, i have an interesting issue. When i'm using the bun preset, none of the build assets for the clients will work, but using the node-server preset it works just fine.

The config is pretty straight forward too:

export default defineConfig({
  vite: {
    plugins: [
      viteTsConfigPaths({
        projects: ['./tsconfig.json']
      }),
      tailwindcss()
    ]
  },
  server: {
    preset: 'node-server'
  },
  tsr: {
    autoCodeSplitting: true
  }
});
surreal tartan
#

Hi, we have the same - versions pre 1.102.5 work but after that no assets or files in /public are served. As you say, node-server preset works fine. Haven't had time to make a repro

shrewd delta
#

file a GitHub issue with a repro please

surreal tartan
shrewd delta
#

is v1.102.5 the last one to work or just the last one you tested that worked?

surreal tartan
#

The last one I tested

shrewd delta
#

would help tremendously if you could find the last that worked

surreal tartan
#

I will have a fiddle

surreal tartan
#

"@tanstack/start-config": "1.102.6" works "@tanstack/start-config": "1.103.0" doesn't

rotund tendon
#

Same for me