Add scss sass support

This commit is contained in:
Hydroxycarbamide 2022-09-03 15:06:05 +02:00
parent 3ef24c67e9
commit 4f419e0701
2 changed files with 28 additions and 9 deletions

View file

@ -5,7 +5,7 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "tauri dev", "dev": "tauri dev",
"build": "tauri build", "build": "tauri build",
"front-dev": "vite", "front-dev": "vite",
"front-build": "vite build", "front-build": "vite build",
"preview": "vite preview", "preview": "vite preview",
@ -26,6 +26,7 @@
"flowbite-svelte": "^0.26.7", "flowbite-svelte": "^0.26.7",
"postcss": "^8.4.14", "postcss": "^8.4.14",
"postcss-load-config": "^4.0.1", "postcss-load-config": "^4.0.1",
"sass": "^1.54.8",
"svelte": "^3.49.0", "svelte": "^3.49.0",
"svelte-check": "^2.8.0", "svelte-check": "^2.8.0",
"svelte-preprocess": "^4.10.7", "svelte-preprocess": "^4.10.7",

34
pnpm-lock.yaml generated
View file

@ -16,6 +16,7 @@ specifiers:
flowbite-svelte: ^0.26.7 flowbite-svelte: ^0.26.7
postcss: ^8.4.14 postcss: ^8.4.14
postcss-load-config: ^4.0.1 postcss-load-config: ^4.0.1
sass: ^1.54.8
svelte: ^3.49.0 svelte: ^3.49.0
svelte-check: ^2.8.0 svelte-check: ^2.8.0
svelte-preprocess: ^4.10.7 svelte-preprocess: ^4.10.7
@ -42,13 +43,14 @@ devDependencies:
flowbite-svelte: 0.26.7 flowbite-svelte: 0.26.7
postcss: 8.4.16 postcss: 8.4.16
postcss-load-config: 4.0.1_postcss@8.4.16 postcss-load-config: 4.0.1_postcss@8.4.16
sass: 1.54.8
svelte: 3.50.0 svelte: 3.50.0
svelte-check: 2.9.0_bx7riipb2q7oyxrjspggwz74se svelte-check: 2.9.0_v34chbti5lxbr2fx7l4eexbxci
svelte-preprocess: 4.10.7_74ye76x736w7ze7o2oqux5qyqa svelte-preprocess: 4.10.7_txk6nmahhszebnozg2i76vy7gi
tailwindcss: 3.1.8_postcss@8.4.16 tailwindcss: 3.1.8_postcss@8.4.16
tslib: 2.4.0 tslib: 2.4.0
typescript: 4.8.2 typescript: 4.8.2
vite: 3.0.9 vite: 3.0.9_sass@1.54.8
packages: packages:
@ -179,7 +181,7 @@ packages:
magic-string: 0.26.3 magic-string: 0.26.3
svelte: 3.50.0 svelte: 3.50.0
svelte-hmr: 0.14.12_svelte@3.50.0 svelte-hmr: 0.14.12_svelte@3.50.0
vite: 3.0.9 vite: 3.0.9_sass@1.54.8
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
@ -1491,6 +1493,10 @@ packages:
engines: {node: '>= 4'} engines: {node: '>= 4'}
dev: true dev: true
/immutable/4.1.0:
resolution: {integrity: sha512-oNkuqVTA8jqG1Q6c+UglTOD1xhC1BtjKI7XkCXRkZHrN5m18/XsnUp8Q89GkQO/z+0WjonSvl0FLhDYftp46nQ==}
dev: true
/import-fresh/3.3.0: /import-fresh/3.3.0:
resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}
engines: {node: '>=6'} engines: {node: '>=6'}
@ -2093,6 +2099,16 @@ packages:
rimraf: 2.7.1 rimraf: 2.7.1
dev: true dev: true
/sass/1.54.8:
resolution: {integrity: sha512-ib4JhLRRgbg6QVy6bsv5uJxnJMTS2soVcCp9Y88Extyy13A8vV0G1fAwujOzmNkFQbR3LvedudAMbtuNRPbQww==}
engines: {node: '>=12.0.0'}
hasBin: true
dependencies:
chokidar: 3.5.3
immutable: 4.1.0
source-map-js: 1.0.2
dev: true
/semver/6.3.0: /semver/6.3.0:
resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==}
hasBin: true hasBin: true
@ -2202,7 +2218,7 @@ packages:
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
dev: true dev: true
/svelte-check/2.9.0_bx7riipb2q7oyxrjspggwz74se: /svelte-check/2.9.0_v34chbti5lxbr2fx7l4eexbxci:
resolution: {integrity: sha512-9AVrtP7WbfDgCdqTZNPdj5CCCy1OrYMxFVWAWzNw7fl93c9klFJFtqzVXa6fovfQ050CcpUyJE2dPFL9TFAREw==} resolution: {integrity: sha512-9AVrtP7WbfDgCdqTZNPdj5CCCy1OrYMxFVWAWzNw7fl93c9klFJFtqzVXa6fovfQ050CcpUyJE2dPFL9TFAREw==}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
@ -2215,7 +2231,7 @@ packages:
picocolors: 1.0.0 picocolors: 1.0.0
sade: 1.8.1 sade: 1.8.1
svelte: 3.50.0 svelte: 3.50.0
svelte-preprocess: 4.10.7_74ye76x736w7ze7o2oqux5qyqa svelte-preprocess: 4.10.7_txk6nmahhszebnozg2i76vy7gi
typescript: 4.8.2 typescript: 4.8.2
transitivePeerDependencies: transitivePeerDependencies:
- '@babel/core' - '@babel/core'
@ -2239,7 +2255,7 @@ packages:
svelte: 3.50.0 svelte: 3.50.0
dev: true dev: true
/svelte-preprocess/4.10.7_74ye76x736w7ze7o2oqux5qyqa: /svelte-preprocess/4.10.7_txk6nmahhszebnozg2i76vy7gi:
resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==} resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==}
engines: {node: '>= 9.11.2'} engines: {node: '>= 9.11.2'}
requiresBuild: true requiresBuild: true
@ -2286,6 +2302,7 @@ packages:
magic-string: 0.25.9 magic-string: 0.25.9
postcss: 8.4.16 postcss: 8.4.16
postcss-load-config: 4.0.1_postcss@8.4.16 postcss-load-config: 4.0.1_postcss@8.4.16
sass: 1.54.8
sorcery: 0.10.0 sorcery: 0.10.0
strip-indent: 3.0.0 strip-indent: 3.0.0
svelte: 3.50.0 svelte: 3.50.0
@ -2416,7 +2433,7 @@ packages:
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
dev: true dev: true
/vite/3.0.9: /vite/3.0.9_sass@1.54.8:
resolution: {integrity: sha512-waYABTM+G6DBTCpYAxvevpG50UOlZuynR0ckTK5PawNVt7ebX6X7wNXHaGIO6wYYFXSM7/WcuFuO2QzhBB6aMw==} resolution: {integrity: sha512-waYABTM+G6DBTCpYAxvevpG50UOlZuynR0ckTK5PawNVt7ebX6X7wNXHaGIO6wYYFXSM7/WcuFuO2QzhBB6aMw==}
engines: {node: ^14.18.0 || >=16.0.0} engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true hasBin: true
@ -2439,6 +2456,7 @@ packages:
postcss: 8.4.16 postcss: 8.4.16
resolve: 1.22.1 resolve: 1.22.1
rollup: 2.77.3 rollup: 2.77.3
sass: 1.54.8
optionalDependencies: optionalDependencies:
fsevents: 2.3.2 fsevents: 2.3.2
dev: true dev: true