79667003

Date: 2025-06-16 02:49:00
Score: 0.5
Natty:
Report link

i have update vite config and use outDir: 'public/build' but the error is still same.

my vite.config.js

import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';

export default defineConfig({
    plugins: [
        laravel({
            input: [
                'resources/css/app.css',
                'resources/js/app.js',
                'resources/js/project-modals.js'
            ],
            refresh: true,
        }),
    ],
    build: {
        outDir: 'public/build',
    },
});
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Teknik Informatika