79522064

Date: 2025-03-20 06:31:43
Score: 3
Natty:
Report link

I also face the same issue ,it resolve when you have put the correct path in your config file for base :

 const viteConfig = {
  plugins: [react(), svgr()],
  base: "./", 
  server: {
    port: 3000,
    open: true,
  },
  build: {
    target: "esnext",
    outDir: "dist",
    sourcemap: true,
    rollupOptions: {
      output: {
        manualChunks: {
          vendor: ["react", "react-dom"],
        },
      },
    },
  },
};

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): I also face the same issue
  • Low reputation (1):
Posted by: Sagar Samanta