From 88089aabae16c915676eabc3a665c9a13cea55ce Mon Sep 17 00:00:00 2001 From: kent Date: Sun, 21 Dec 2025 16:37:06 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20htmx=20eval=20=EA=B2=BD=EA=B3=A0=20?= =?UTF-8?q?=EC=96=B5=EC=A0=9C=20=EC=84=A4=EC=A0=95=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - vite.config.js에 rollupOptions.onwarn 설정 - htmx 라이브러리 특성상 eval 사용 필요 (외부 라이브러리) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- vite.config.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/vite.config.js b/vite.config.js index 421b5695..0ad0586f 100644 --- a/vite.config.js +++ b/vite.config.js @@ -8,4 +8,15 @@ export default defineConfig({ refresh: true, }), ], + build: { + rollupOptions: { + onwarn(warning, warn) { + // htmx의 eval 사용 경고 억제 (라이브러리 특성상 필요) + if (warning.code === 'EVAL' && warning.id?.includes('htmx')) { + return; + } + warn(warning); + }, + }, + }, });