mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-08-20 05:13:57 -07:00
chore: add Typescript linting
This commit is contained in:
parent
5c69694505
commit
70c580474c
5 changed files with 22 additions and 26 deletions
|
@ -1,22 +1,6 @@
|
|||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
|
||||
// import { join, parse, resolve } from "path";
|
||||
// import * as url from "url";
|
||||
// const __dirname = url.fileURLToPath(new URL(".", import.meta.url));
|
||||
|
||||
// function entryPoints(...paths) {
|
||||
// const entries = paths.map(parse).map((entry) => {
|
||||
// const { dir, base, name } = entry;
|
||||
// const key = join(dir, name);
|
||||
// const path = resolve(__dirname, dir, base);
|
||||
// return [key, path];
|
||||
// });
|
||||
|
||||
// const config = Object.fromEntries(entries);
|
||||
// return config;
|
||||
// }
|
||||
|
||||
export default defineConfig({
|
||||
base: "/app",
|
||||
server: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue