From 900bb5e845c3ad44defbd427cae3d44a4a43321f Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sat, 25 Feb 2023 13:15:44 +0100 Subject: feat: Initial commit --- code/app/svelte.config.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 code/app/svelte.config.js (limited to 'code/app/svelte.config.js') diff --git a/code/app/svelte.config.js b/code/app/svelte.config.js new file mode 100644 index 0000000..2b4277a --- /dev/null +++ b/code/app/svelte.config.js @@ -0,0 +1,27 @@ +import adapter from "@sveltejs/adapter-node"; +import preprocess from "svelte-preprocess"; + +/** @type {import('@sveltejs/kit').Config} */ +const config = { + preprocess: [ + preprocess({ + postcss: true, + }), + ], + kit: { + adapter: adapter(), + alias: { + "$actions": "./src/actions", + "$routes": "./src/routes", + "$models": "./src/models", + "$api": "./src/api", + "$components": "./src/components", + "$utilities": "./src/utilities", + "$i18n": "./src/i18n", + "$services": "./src/services", + "$configuration": "./src/configuration", + } + }, +}; + +export default config; -- cgit v1.3