remove unnecessary files and amek global scss work

This commit is contained in:
2026-06-04 00:27:23 -05:00
parent 2e6df0e19f
commit a2eb02409e
5 changed files with 23 additions and 216 deletions
+19 -4
View File
@@ -1,9 +1,24 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import { dirname, join } from 'path';
import { fileURLToPath } from 'url';
const currentDir = dirname(fileURLToPath(import.meta.url))
export default defineConfig({
plugins: [sveltekit()],
server:{
port: 4242
}
plugins: [sveltekit()],
server: {
port: 4242
},
css: {
preprocessorOptions: {
scss: {
api: 'modern',
additionalData: `
@use "${join(currentDir, './src/styles/functions')}" as *;
@use "${join(currentDir, './src/styles/variables')}" as *;
`
}
}
}
});