Css loading problem
Hey, guys
I`m having some problem bundling my tanstack starter build
Build completes successfully but showing the following warning:
then on npm start
Installed following shadcn quickstart, dev server is running normal
root.tsx
vite.config.ts
```ts
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
import { defineConfig } from 'vite'
import tsConfigPaths from 'vite-tsconfig-paths'
import react from '@vitejs/plugin-react'
import path from 'path'
export default defineConfig({
plugins: [
tsConfigPaths({
projects: ['./tsconfig.json'],
}),
tanstackStart({
customViteReactPlugin: true,
}),
react(),
],
resolve: {
alias: {
'@': path.resolve(dirname, './src'),
},
},
})
ts
{
"include": [
"/*.ts",
"/.tsx"
],
"compilerOptions": {
"strict": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"module": "ESNext",
"moduleResolution": "Bundler",
"lib": [
"DOM",
"DOM.Iterable",
"ES2022"
],
"isolatedModules": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"target": "ES2022",
"allowJs": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"paths": {
"@/": [
"./src/"
],
"@convex/": [
"./convex/*"
]
},
"noEmit": true
}
}
```
1 Reply
other-emeraldOP•3mo ago
Found the problem, i was with the legacy app.config.ts in my structure (probably following convex doc n/or clerk)