Template not found in html field of a custom app

I was trying to create a template for an html field in a custom app. I figured out the bundle.js process and the dist folder is created with the desired bundle. but the issue is the template is still not found by the dest. after the v14 updates the documentation is not well updated and it’s a bit confusing how to proceed. any kind of guidance is appreciated.