Level 58
Hey there!
It looks like you're trying to serve a status.js file from the root of your site. You can do this by adding the following line to your vite.config.js file:
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/status.js'],
output: {
'/status.js': 'resources/js/status.js'
}
}),
],
});
Hope this helps! Good luck!