in vite.config.js [4:29]
export default defineConfig({
base: '',
plugins: [react()],
publicDir: false, // This feature is deactivated because the 'public' dir also has a special meaning for the Play framework
build: {
manifest: true,
rollupOptions: {
input: './public/video-ui/src/app.jsx',
output: {
entryFileNames: `[name].js`,
chunkFileNames: `[name].js`,
assetFileNames: `[name].[ext]`
}
},
outDir: "./public/video-ui/build",
emptyOutDir: true
},
server: {
origin: 'http://localhost:5173',
// We depend upon this port number in a few places, so fail fast if we cannot allocate it.
strictPort: true,
fs: {
allow: ['/public/video-ui/fonts', './']
}
}
});