text: import { defineConfig } from 'vite'
  import reactRefresh from '@vitejs/plugin-react-refresh'
  
  const Global = "var process = { env: {NODE_ENV: 'production'}}"
  
  
  //production //development
  // https://vitejs.dev/config/
  export default defineConfig({
      plugins: [reactRefresh()],
      root: './resources',
      base: '/assets/',
      mode: 'production',
      define: {
          'process.env': {}
      },
      build: {
          outDir: '../public/assets',
          assetsDir: '',
          manifest: true,
          minify: true,
          rollupOptions: {
              output: {
                  manualChunks: undefined,
                  banner: Global
              },
              input:{
                  'App.jsx': './resources/js/App.jsx'
              },
  
          }
      }
  })
  
  