authentikate/vite.config.js
Javier Feliz 38c0c70ded
Some checks failed
linter / quality (push) Successful in 3m2s
tests / ci (push) Failing after 7m37s
Bunch of progress
2025-07-27 22:18:35 -04:00

29 lines
786 B
JavaScript

import {
defineConfig
} from 'vite';
import laravel from 'laravel-vite-plugin';
import tailwindcss from "@tailwindcss/vite";
import fs from 'fs'
import path from 'path'
export default defineConfig({
plugins: [
laravel({
input: ['resources/css/app.css', 'resources/js/app.js'],
refresh: true,
}),
tailwindcss(),
],
server: {
cors: true,
host: "homelab-sso.test",
// https: {
// key: fs.readFileSync(path.resolve(
// process.env.HOME, '.valet/Certificates/homelab-sso.test.key'
// )),
// cert: fs.readFileSync(path.resolve(
// process.env.HOME, '.valet/Certificates/homelab-sso.test.crt'
// )),
// },
},
});