diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-03-09 22:43:12 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-03-09 22:43:12 +0100 |
| commit | bd8e98d7e24c4dbaee7db6ec7955f7c2f6d396a6 (patch) | |
| tree | e5f0dcbc14d3009c17e5f562404fe19f6aceab73 /vite.config.js | |
| parent | 862a5f9cdbbda522c608ea63c1e296e81f44de10 (diff) | |
Update to SvelteKit
Diffstat (limited to 'vite.config.js')
| -rw-r--r-- | vite.config.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..e4b56a2 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,11 @@ +// Consult https://vitejs.dev/config/ to learn about these options +import { resolve } from 'path'; + +export default { + resolve: { + alias: { + $components: resolve('src/components'), + $config: resolve('src/config') + } + } +}; |