🔧 Updated some packages and deps

This commit is contained in:
2023-02-27 21:33:34 -05:00
parent 45bcb4102d
commit 30ef01ff03
3 changed files with 3348 additions and 4456 deletions

View File

@@ -1,21 +1,22 @@
import react from '@vitejs/plugin-react';
import react from "@vitejs/plugin-react";
import { nodeResolve } from "@rollup/plugin-node-resolve";
import { defineConfig } from 'vite';
import { defineConfig } from "vite";
export default defineConfig({
// publicDir: './public',
// publicDir: "./public",
build: "esnext",
base: "/",
plugins: [
nodeResolve({
// browser: true
exportConditions: ['node'],
exportConditions: ["node"],
}),
react({
// Use React plugin in all *.jsx and *.tsx files
include: '**/*.{jsx,tsx}',
include: "**/*.{jsx,tsx}",
babel: {
plugins: ['babel-plugin-styled-components'],
plugins: ["babel-plugin-styled-components"],
},
}),
],
});
});