#Are path aliases implemented yet?

3 messages · Page 1 of 1 (latest)

strong elbow
#

Nvm. I found this is how you can do it using a plugin based on an example in the docs:

import { defineConfig } from '@tanstack/start/config'
import tsConfigPaths from 'vite-tsconfig-paths'

export default defineConfig({
  vite: {
    plugins: () => [
      tsConfigPaths({
        projects: ['./tsconfig.json']
      })
    ]
  }
})
rugged trail
fallen rapids
#

Yo @rugged trail is it okay if I take some of this documentation and also push it up to Vinxi for people to use generally ?