From 260a7a58c8d06eb1c7fec8b5cf9e35adf1f45024 Mon Sep 17 00:00:00 2001 From: Lapo Luchini Date: Mon, 29 Apr 2024 14:42:00 +0000 Subject: [PATCH] Drop dead code. --- vite.config.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/vite.config.js b/vite.config.js index 1df7e21..3555525 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,16 +4,6 @@ import { viteSingleFile } from 'vite-plugin-singlefile'; import pluginDom from 'vite-plugin-dom'; import { DomUtils } from 'htmlparser2'; -const preventSVGEmit = () => { - return { - generateBundle(opts, bundle) { - for (const key in bundle) - if (key.endsWith('.svg')) - delete bundle[key]; - }, - }; -}; - const removeNodes = [ 'theme-select', 'rowExamples' ]; export default defineConfig({