This repository was archived by the owner on Sep 25, 2024. It is now read-only.
Commit ab8e6f0
committed
feat: add css module support and refactor utils
This commit introduces support for CSS modules in the Svelte
preprocessor. It also includes a significant refactor of the utils
module. The alias loading function has been moved to its own file
(alias.ts) and the CSS module related functions have been moved to
css-module.ts. The old utils.ts file has been removed. The package.json
and pnpm-lock.yaml files have been updated to include new dependencies
required for the CSS module support.1 parent 8ce8d4e commit ab8e6f0
File tree
7 files changed
+322
-77
lines changed- src
- utils
7 files changed
+322
-77
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
17 | 29 | | |
18 | 30 | | |
19 | 31 | | |
20 | 32 | | |
21 | | - | |
| 33 | + | |
22 | 34 | | |
23 | 35 | | |
24 | 36 | | |
25 | | - | |
26 | 37 | | |
27 | | - | |
28 | 38 | | |
29 | | - | |
30 | 39 | | |
31 | 40 | | |
32 | 41 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments