Skip to content

Commit

Permalink
Drop dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
lapo-luchini committed Apr 29, 2024
1 parent b7e8538 commit 260a7a5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 260a7a5

Please sign in to comment.