Add generator plugin

This commit is contained in:
venashial
2022-05-20 00:10:15 -07:00
parent 06c210f5c8
commit 0f6263d82e
11 changed files with 1446 additions and 147 deletions

View File

@@ -3,14 +3,14 @@ import Icons from 'unplugin-icons/vite';
import svelteSvg from '@poppanator/sveltekit-svg';
export const preprocess = sveltePreprocess({
postcss: true,
})
postcss: true,
});
export const plugins = [
svelteSvg(),
Icons({
compiler: 'svelte',
defaultClass: 'icon',
scale: 1,
}),
]
svelteSvg(),
Icons({
compiler: 'svelte',
defaultClass: 'icon',
scale: 1,
}),
];