chore: htmx eval 경고 억제 설정 추가
- vite.config.js에 rollupOptions.onwarn 설정 - htmx 라이브러리 특성상 eval 사용 필요 (외부 라이브러리) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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);
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user