@indexea/scaffold-svelte
Version:
This is the scaffolding of Indexea search, on which you can adjust the typography and style of the search interface
21 lines (17 loc) • 371 B
text/typescript
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
const production = process.env.NODE_ENV === 'production'
export default defineConfig({
base: process.env.PUBLIC_PATH || '/',
server: {
port: 3000
},
plugins: [
svelte({
emitCss: true,
compilerOptions: {
dev: !production
}
})
]
})