Hosting Angular i18n build on Cloudflare pages

Using Angular 13 i18n with two languages en and fr.

The build is generating two directories

en/
    index.html
    main.js
fr/
    index.html
    main.js

I want the users to access specific application build based on the path https://example.com/en/ and https://example.com/fr/ respectively.

Is it possible to host the i18n build using Cloudflare pages and route to the specific language build based on the path?

A bit late but you can achieve this by using _redirects file with something like

/ /en 302
/:lang/* /:lang/ 200