* 🔧 Updated date for PullList on Dashboard * ⚡️ Added Vite config and removed useless files * 👷🏽 Updated build command * ❌ Removed useless deps * 🔧 Cleaned up package.json and bumped airdcpp-apisocket * 🔧 Updated some packages and deps * ⬆️ Bumped some deps * 🔧 Fixed typo in package.json * 🔧 Fix for broken paths https://github.com/rishighan/threetwo/issues/63 * 🔧 Fixed broken path and npm script Signed-off-by: Rishi Ghan <rishi.ghan@gmail.com> --------- Signed-off-by: Rishi Ghan <rishi.ghan@gmail.com>
23 lines
513 B
JavaScript
23 lines
513 B
JavaScript
import react from "@vitejs/plugin-react";
|
|
import { nodeResolve } from "@rollup/plugin-node-resolve";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
publicDir: "public",
|
|
base: "",
|
|
build: "esnext",
|
|
plugins: [
|
|
nodeResolve({
|
|
// browser: true
|
|
exportConditions: ["node"],
|
|
}),
|
|
react({
|
|
// Use React plugin in all *.jsx and *.tsx files
|
|
include: "**/*.{jsx,tsx}",
|
|
babel: {
|
|
plugins: ["babel-plugin-styled-components"],
|
|
},
|
|
}),
|
|
],
|
|
});
|