[Fix] Delete vite.config.js
This commit is contained in:
parent
e1dbbb21ee
commit
8fa42c9f30
30
vite.config.js
vendored
30
vite.config.js
vendored
|
@ -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/'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
});
|
|
Loading…
Reference in a new issue