2026-02-26 14:57:24 +08:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
|
import laravel from "laravel-vite-plugin";
|
|
|
|
|
import tailwindcss from "@tailwindcss/vite";
|
2026-02-26 12:02:00 +08:00
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [
|
|
|
|
|
laravel({
|
2026-02-26 14:57:24 +08:00
|
|
|
input: [
|
|
|
|
|
"resources/css/app.css",
|
|
|
|
|
"resources/js/app.js",
|
|
|
|
|
"resources/js/chat.js",
|
|
|
|
|
],
|
2026-02-26 12:02:00 +08:00
|
|
|
refresh: true,
|
|
|
|
|
}),
|
|
|
|
|
tailwindcss(),
|
|
|
|
|
],
|
|
|
|
|
server: {
|
|
|
|
|
watch: {
|
2026-02-26 14:57:24 +08:00
|
|
|
ignored: ["**/storage/framework/views/**"],
|
2026-02-26 12:02:00 +08:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
});
|