From 4fbde03149479305319baf3e533a4fed68504682 Mon Sep 17 00:00:00 2001 From: Maxim Andreev Date: Sun, 13 Oct 2024 10:16:35 +0300 Subject: [PATCH] js examples: add vite dev build bug workaround --- javascript/examples/vite/vite.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/javascript/examples/vite/vite.config.js b/javascript/examples/vite/vite.config.js index b2153f3..b8bc88c 100644 --- a/javascript/examples/vite/vite.config.js +++ b/javascript/examples/vite/vite.config.js @@ -2,5 +2,8 @@ import { defineConfig } from 'vite' export default defineConfig({ build: { target: 'esnext', - } + }, + optimizeDeps: { // https://github.com/vitejs/vite/issues/13756 + exclude: ['evmole'], + }, })