|
@@ -1,30 +0,0 @@
|
|
|
-
|
|
|
-import { defineConfig } from "vite";
|
|
|
-import laravel from "laravel-vite-plugin";
|
|
|
-
|
|
|
-export default defineConfig({
|
|
|
- plugins: [
|
|
|
- laravel({
|
|
|
- input: "resources/sass/app.scss"
|
|
|
- }),
|
|
|
-
|
|
|
-
|
|
|
- {
|
|
|
- name: "blade",
|
|
|
- handleHotUpdate({ file, server }) {
|
|
|
- if (file.endsWith(".blade.php")) {
|
|
|
- server.ws.send({
|
|
|
- type: "full-reload",
|
|
|
- path: "*",
|
|
|
- });
|
|
|
- }
|
|
|
- },
|
|
|
- },
|
|
|
- ],
|
|
|
- resolve: {
|
|
|
- alias: {
|
|
|
- '@': '/resources/js/'
|
|
|
- }
|
|
|
- },
|
|
|
-
|
|
|
-});
|