🚧 Switch to monorepo with Turbo

This commit is contained in:
2023-01-10 12:53:42 +01:00
parent dd8715bb34
commit 25bb949a13
205 changed files with 14975 additions and 347 deletions

View File

@@ -0,0 +1,33 @@
import preprocess from 'svelte-preprocess'
import adapter from '@sveltejs/adapter-auto'
import { fileURLToPath } from 'url'
import { dirname } from 'path'
const stylePath = `${dirname(fileURLToPath(import.meta.url))}/src/style`
export const scssImports = `@use "${stylePath}/imports.scss" as *;`
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Preprocessors docs: https://github.com/sveltejs/svelte-preprocess
preprocess: preprocess({
scss: {
prependData: scssImports,
renderSync: true,
}
}),
kit: {
adapter: adapter({
// edge: true,
}),
alias: {
$components: 'src/components',
$animations: 'src/animations',
$modules: 'src/modules',
$utils: 'src/utils',
$style: 'src/style',
},
}
}
export default config