Skip to content

Commit 3911c57

Browse files
committed
feat: add support for alias resolution in svelte-preprocess-import-scoped-css
This commit introduces the ability to resolve aliases in the svelte-preprocess-import-scoped-css package. It does this by loading aliases from both the SvelteKit and Vite configuration files. This enhancement provides a more robust and flexible way to handle aliases in your Svelte and Vite projects.
1 parent 2a39f75 commit 3911c57

File tree

3 files changed

+600
-3
lines changed

3 files changed

+600
-3
lines changed

deno.jsonc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@
1919
"@cross/test": "jsr:@cross/test@^0.0.9",
2020
"@std/assert": "jsr:@std/assert@^0.226.0",
2121
"@std/testing": "jsr:@std/testing@^0.225.3",
22+
"@sveltejs/kit": "npm:@sveltejs/kit@^2.5.19",
2223
"magic-string": "npm:magic-string@^0.30.11",
2324
"pathe": "npm:pathe@^1.1.2",
24-
"svelte": "npm:svelte@^4.2.18"
25+
"svelte": "npm:svelte@^4.2.18",
26+
"unconfig": "npm:unconfig@^0.5.5",
27+
"vite": "npm:vite@^5.3.5"
2528
},
2629
"exports": "./mod.ts",
2730
"publish": {

0 commit comments

Comments
 (0)