i create an app call shipper and i created one file call build.json
structure:
shipper
shipper
public
js
shipper_service_selector.html
shipper.js
build.json
inside build.json
{
"js/shipper.min.js": ["public/js/shipper_service_selector.html"]
}
but when i call
frappe.require('assets/js/shipper.min.js', () => {
})
i get Server error
FileNotFoundError: [Errno 2] No such file or directory: ‘./assets/js/shipper.min.js’
am i missing something? I’ve run bench build --apps shipper