UNPKG

webcoreui

Version:

UI component and template library for Astro, Svelte, and React apps styled with Sass.

39 lines (35 loc) 722 B
import path from 'path' const config = { ssr: { noExternal: ['webcoreui'] }, css: { preprocessorOptions: { scss: { loadPaths: [ path.resolve(process.cwd()) ] } } } } export const webcore = () => { return { name: 'webcoreui', hooks: { 'astro:config:setup': ({ updateConfig }) => { updateConfig({ vite: config }) } } } } export const webcoreVite = () => { return { name: 'webcoreui', config() { return config } } }