init of v4 🌮

This commit is contained in:
Andras Bacsai
2023-03-17 15:33:48 +01:00
parent e8088e2a70
commit edd1719431
515 changed files with 12303 additions and 55187 deletions

29
vite.config.js Normal file
View File

@@ -0,0 +1,29 @@
import { defineConfig } from "vite";
import laravel from "laravel-vite-plugin";
export default defineConfig({
server: {
host: "0.0.0.0",
hmr: process.env.GITPOD_WORKSPACE_URL
? {
// Due to port fowarding, we have to replace
// 'https' with the forwarded port, as this
// is the URI created by Gitpod.
host: process.env.GITPOD_WORKSPACE_URL.replace(
"https://",
"5173-"
),
protocol: "wss",
clientPort: 443,
}
: {
host: "localhost",
},
},
plugins: [
laravel({
input: ["resources/css/app.css", "resources/js/app.js"],
refresh: true,
}),
],
});