From 2ef74ea56b3be7960f8102703074b670891eafde Mon Sep 17 00:00:00 2001 From: Mark van den Broek Date: Sat, 30 Nov 2024 14:24:06 +0100 Subject: [PATCH] Set build target --- vite.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vite.config.js b/vite.config.js index 454edd2..55ffb2e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,6 +3,9 @@ import { defineConfig } from 'vite'; import laravel from 'laravel-vite-plugin'; export default defineConfig({ + build: { + target: 'es2022' + }, plugins: [ laravel({ input: [