Files
suwayomi-material-you-webui/vite.config.ts
T

28 lines
700 B
TypeScript
Raw Normal View History

2023-06-05 00:58:21 +02:00
/*
* Copyright (C) Contributors to the Suwayomi project
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import viteTsconfigPaths from 'vite-tsconfig-paths';
2023-06-17 20:53:00 +02:00
import path from 'path';
2023-06-05 00:58:21 +02:00
export default defineConfig(() => ({
build: {
outDir: 'build',
},
server: {
port: 3000,
},
2023-06-17 20:53:00 +02:00
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
2023-06-05 00:58:21 +02:00
plugins: [react(), viteTsconfigPaths()],
}));