Change Dir For Vite Manifest

I would like vite manifest to be available in the public_html/build/ directory for my website but I keep getting the error Vite manifest not found at: public_html/public/build/manifest.json. This is my config how would I modify that to make it at the build/ instead of public/build?

vite.config.js

export default defineConfig({
  resolve: {
    alias: {
      'vue': 'vue/dist/vue.esm-bundler.js'
    },
   
  },
  plugins: [
    laravel({
      input: ['resources/css/app.css', 'resources/js/app.js'],
      refresh: true,
    }),
    vue({
      template: {
        transformAssetUrls: {
          base: null,
          includeAbsolute: false,
        },
      },
    }),
    VueI18nPlugin({
        include: resolve(dirname(fileURLToPath(import.meta.url)), 'resources/js/locales/**'),
      }),
  ],
    build: {
      outDir: 'build',
     publicDir: 'build',
      manifest: true, 
    }
});

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.