diff options
| author | Fuwn <[email protected]> | 2023-12-31 12:36:30 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-31 12:36:30 -0800 |
| commit | 5551e78e0d3c328165fbd7d0f3d249f9c65af048 (patch) | |
| tree | 270aa86ce0e3f923283320c4bfcd3cdbe57e25c7 /svelte.config.js | |
| parent | fix(time): remove timezone offset multiplier (diff) | |
| download | due.moe-5551e78e0d3c328165fbd7d0f3d249f9c65af048.tar.xz due.moe-5551e78e0d3c328165fbd7d0f3d249f9c65af048.zip | |
chore(svelte): alias stores
Diffstat (limited to 'svelte.config.js')
| -rw-r--r-- | svelte.config.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/svelte.config.js b/svelte.config.js index 87559d46..4c173d7d 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -4,7 +4,12 @@ import { vitePreprocess } from '@sveltejs/kit/vite'; /** @type {import('@sveltejs/kit').Config} */ const config = { preprocess: vitePreprocess(), - kit: { adapter: adapter() } + kit: { + adapter: adapter(), + alias: { + $stores: './src/stores' + } + } }; export default config; |