aboutsummaryrefslogtreecommitdiffstats
path: root/vite.config.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-12-01 20:04:13 -0800
committerAdam Soltys <[email protected]>2023-12-01 20:04:13 -0800
commit216a600224fde22ce76b367557a02094ec693886 (patch)
treed1189bbaa39db204633523132a7d4767b952717d /vite.config.js
parent7d9bc1f54dfd04172e8d6d43ebc2efd6f407e833 (diff)
downloadcoinos-ui-216a600224fde22ce76b367557a02094ec693886.tar.gz
coinos-ui-216a600224fde22ce76b367557a02094ec693886.zip
prettier
Diffstat (limited to 'vite.config.js')
-rw-r--r--vite.config.js32
1 files changed, 16 insertions, 16 deletions
diff --git a/vite.config.js b/vite.config.js
index 9cda1e3f..15974503 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -1,23 +1,23 @@
-import { sveltekit } from '@sveltejs/kit/vite';
+import { sveltekit } from "@sveltejs/kit/vite";
-import path from 'path';
+import path from "path";
/** @type {import('vite').UserConfig} */
const config = {
- plugins: [sveltekit()],
- resolve: {
- alias: {
- $comp: path.resolve('src/components/index.js'),
- }
- },
- server: {
- proxy: {
- '/api': {
- target: 'http://localhost:3119',
- rewrite: (path) => path.replace(/^\/api/, '')
- }
- }
- }
+ plugins: [sveltekit()],
+ resolve: {
+ alias: {
+ $comp: path.resolve("src/components/index.js"),
+ },
+ },
+ server: {
+ proxy: {
+ "/api": {
+ target: "http://localhost:3119",
+ rewrite: (path) => path.replace(/^\/api/, ""),
+ },
+ },
+ },
};
export default config;