<IfModule mod_rewrite.c>
    RewriteEngine On

    # Serve build assets from public directory
    RewriteRule ^(build/.*)$ public/$1 [L]

    # Route everything else through the front controller
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php [L]
</IfModule>
