major updates to popup dev, manifest fix

This commit is contained in:
Seth Burkart
2023-09-15 12:01:08 +10:00
parent 979e67f622
commit e9db7b0283
34 changed files with 416 additions and 146 deletions
+17
View File
@@ -0,0 +1,17 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
build: {
//outDir: '../../public/popup-dist',
rollupOptions: {
output: {
assetFileNames: 'client/rsc/[ext]/[name][extname]',
chunkFileNames: 'client/rsc/[chunks]/[name].[hash].js',
entryFileNames: 'client/rsc/js/client.js'
}
}
}
})