mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-07 15:55:00 +00:00
19 lines
361 B
TypeScript
19 lines
361 B
TypeScript
/* eslint-disable no-console */
|
|
|
|
import path from "path";
|
|
|
|
import { defineConfig } from "vite";
|
|
|
|
const projectRootDir = path.resolve(__dirname);
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
base: "",
|
|
resolve: {
|
|
alias: [{ find: "@", replacement: path.resolve(projectRootDir, "src") }],
|
|
},
|
|
server: {
|
|
port: 8000,
|
|
host: "0.0.0.0",
|
|
},
|
|
});
|