first commit

This commit is contained in:
2024-04-14 14:57:30 +03:00
commit 0b8db25b24
43 changed files with 13562 additions and 0 deletions

23
vite.config.ts Normal file
View File

@@ -0,0 +1,23 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
// Import path module for resolving file paths
import { resolve } from 'path';
export default defineConfig({
plugins: [react()],
build: {
rollupOptions: {
// Specify multiple entry points for Rollup
input: {
index: resolve(__dirname, 'index.html'), // Main entry for your React app
background: resolve(__dirname, 'src/background.ts'), // Separate entry for the background script
},
output: {
// Adjust the output settings if necessary
entryFileNames: `[name].js`,
chunkFileNames: `[name].js`,
assetFileNames: `[name].[ext]`
}
}
}
});