refactor: remove SCSS support

This commit is contained in:
madkarmaa 2025-04-03 11:33:29 +02:00
parent 5f19ef6d92
commit 8cc84f3600
5 changed files with 5 additions and 58 deletions

View File

@ -25,10 +25,8 @@
"globals": "^16.0.0",
"prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.3.3",
"sass": "^1.86.1",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"svelte-preprocess": "^6.0.3",
"typescript": "^5.0.0",
"typescript-eslint": "^8.20.0",
"vite": "^6.0.0"

56
pnpm-lock.yaml generated
View File

@ -41,18 +41,12 @@ importers:
prettier-plugin-svelte:
specifier: ^3.3.3
version: 3.3.3(prettier@3.5.3)(svelte@5.25.3)
sass:
specifier: ^1.86.1
version: 1.86.1
svelte:
specifier: ^5.0.0
version: 5.25.3
svelte-check:
specifier: ^4.0.0
version: 4.1.5(svelte@5.25.3)(typescript@5.8.2)
svelte-preprocess:
specifier: ^6.0.3
version: 6.0.3(postcss-load-config@3.1.4(postcss@8.5.3))(postcss@8.5.3)(sass@1.86.1)(svelte@5.25.3)(typescript@5.8.2)
typescript:
specifier: ^5.0.0
version: 5.8.2
@ -1125,43 +1119,6 @@ packages:
svelte:
optional: true
svelte-preprocess@6.0.3:
resolution: {integrity: sha512-PLG2k05qHdhmRG7zR/dyo5qKvakhm8IJ+hD2eFRQmMLHp7X3eJnjeupUtvuRpbNiF31RjVw45W+abDwHEmP5OA==}
engines: {node: '>= 18.0.0'}
peerDependencies:
'@babel/core': ^7.10.2
coffeescript: ^2.5.1
less: ^3.11.3 || ^4.0.0
postcss: ^7 || ^8
postcss-load-config: '>=3'
pug: ^3.0.0
sass: ^1.26.8
stylus: '>=0.55'
sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0
svelte: ^4.0.0 || ^5.0.0-next.100 || ^5.0.0
typescript: ^5.0.0
peerDependenciesMeta:
'@babel/core':
optional: true
coffeescript:
optional: true
less:
optional: true
postcss:
optional: true
postcss-load-config:
optional: true
pug:
optional: true
sass:
optional: true
stylus:
optional: true
sugarss:
optional: true
typescript:
optional: true
svelte@5.25.3:
resolution: {integrity: sha512-J9rcZ/xVJonAoESqVGHHZhrNdVbrCfkdB41BP6eiwHMoFShD9it3yZXApVYMHdGfCshBsZCKsajwJeBbS/M1zg==}
engines: {node: '>=18'}
@ -1968,7 +1925,8 @@ snapshots:
ignore@5.3.2: {}
immutable@5.1.1: {}
immutable@5.1.1:
optional: true
import-fresh@3.3.1:
dependencies:
@ -2173,6 +2131,7 @@ snapshots:
source-map-js: 1.2.1
optionalDependencies:
'@parcel/watcher': 2.5.1
optional: true
semver@7.7.1: {}
@ -2221,15 +2180,6 @@ snapshots:
optionalDependencies:
svelte: 5.25.3
svelte-preprocess@6.0.3(postcss-load-config@3.1.4(postcss@8.5.3))(postcss@8.5.3)(sass@1.86.1)(svelte@5.25.3)(typescript@5.8.2):
dependencies:
svelte: 5.25.3
optionalDependencies:
postcss: 8.5.3
postcss-load-config: 3.1.4(postcss@8.5.3)
sass: 1.86.1
typescript: 5.8.2
svelte@5.25.3:
dependencies:
'@ampproject/remapping': 2.3.0

View File

@ -1,3 +1,3 @@
import '../app.scss';
import '../app.css';
export const prerender = true;

View File

@ -1,10 +1,9 @@
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import { sveltePreprocess } from 'svelte-preprocess';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: [vitePreprocess(), sveltePreprocess()],
preprocess: vitePreprocess(),
kit: { adapter: adapter() }
};