Hi! I really need your help! I’m trying to deploy my project, but keep getting the same error
Could you please help me?
tsconfig.json
{
“compilerOptions”: {
“target”: “ESNext”,
“lib”: [“DOM”, “DOM.Iterable”, “ESNext”],
“module”: “ESNext”,
“moduleResolution”: “Node”,
“jsx”: “react-jsx”,
"useDefineForClassFields": true,
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"allowImportingTsExtensions": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"baseUrl": "./src",
"paths": {
"@/*": ["*"]
}
},
“include”: [“src/**/*”],
“references”: [{ “path”: “./tsconfig.node.json” }]
}
Vite Config
import react from ‘@vitejs/plugin-react’;
import path from ‘path’;
import { defineConfig } from ‘vite’;
// https://vitejs.dev/config/
export default defineConfig({
resolve: {
alias: {
‘@’: path.resolve(__dirname, ‘src’),
},
extensions: [‘.js’, ‘.jsx’, ‘.ts’, ‘.tsx’],
},
plugins: [react()],
});