You've already forked AstralRinth
Skip Typescript compilation on packaging
This commit is contained in:
17
src/config/svelte.js
Normal file
17
src/config/svelte.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import sveltePreprocess from 'svelte-preprocess'
|
||||
import Icons from 'unplugin-icons/vite'
|
||||
import svelteSvg from '@poppanator/sveltekit-svg'
|
||||
|
||||
export const preprocess = sveltePreprocess({
|
||||
postcss: true,
|
||||
preserve: ['ld+json'],
|
||||
})
|
||||
|
||||
export const plugins = [
|
||||
svelteSvg(),
|
||||
Icons({
|
||||
compiler: 'svelte',
|
||||
defaultClass: 'icon',
|
||||
scale: 1,
|
||||
}),
|
||||
]
|
||||
Reference in New Issue
Block a user