diff options
| author | secondl1ght <[email protected]> | 2022-07-21 22:22:30 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-07-21 22:22:30 -0600 |
| commit | f42fd791172d8b2c0e507399e5081cc906474cb2 (patch) | |
| tree | cb537d8b2c4868a4f61dd0a123f0b5e08d05884c /vite.config.js | |
| parent | 83052d94f734e8618260c0655cd7b7a23b06d836 (diff) | |
| download | coinos-ui-f42fd791172d8b2c0e507399e5081cc906474cb2.tar.gz coinos-ui-f42fd791172d8b2c0e507399e5081cc906474cb2.zip | |
add register and login pages, DRY up more, add $comp, add new components
Diffstat (limited to 'vite.config.js')
| -rw-r--r-- | vite.config.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/vite.config.js b/vite.config.js index 87470505..bb04f608 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,8 +1,14 @@ import { sveltekit } from '@sveltejs/kit/vite'; +import path from 'path'; /** @type {import('vite').UserConfig} */ const config = { - plugins: [sveltekit()] + plugins: [sveltekit()], + resolve: { + alias: { + $comp: path.resolve('src/components/index.js') + } + } }; export default config; |
