Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

esbuild.config.js

11 lines270 Bytes

1import { tanstackRouter } from '@tanstack/router-plugin/esbuild'
2​
3export default {
4 jsx: 'transform',
5 minify: true,
6 sourcemap: true,
7 bundle: true,
8 format: 'esm',
9 target: ['esnext'],
10 plugins: [tanstackRouter({ target: 'react', autoCodeSplitting: true })],