oportunidades 5
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-10 14:15:28 +02:00
parent 6ddafc95ba
commit 01405cbf8a
144 changed files with 28903 additions and 1103 deletions
+5 -3
View File
@@ -7,9 +7,12 @@ import laravel from 'laravel-vite-plugin';
import { bunny } from 'laravel-vite-plugin/fonts';
import { defineConfig, lazyPlugins } from 'vite-plus';
const qaBuild = process.env.INVESTMOZ_QA_BUILD === '1';
export default defineConfig({
plugins: lazyPlugins(() => [
laravel({
buildDirectory: qaBuild ? 'build-qa-opportunities' : 'build',
input: ['resources/css/app.css', 'resources/js/app.tsx'],
refresh: true,
fonts: [
@@ -24,9 +27,8 @@ export default defineConfig({
presets: [reactCompilerPreset()],
}),
tailwindcss(),
wayfinder({
formVariants: true,
}),
// Reuse generated URLs in QA without booting the active Laravel environment.
...(!qaBuild ? [wayfinder({ formVariants: true })] : []),
]),
server: {
// Laravel's public/hot points to IPv4 loopback; bind Vite there explicitly.