Hi, I’m developing an extension. It’s working successfully during testing on localhost:1337, but after uploading the bundle, nothing is being displayed. Also, the designer extension URI is responding with a 404 error.
Two possible reasons:
- Can you confirm that the code and all needed resources are inside the
publicDir
directory defined in thewebfow.json
manifest - Do you have any resources referenced using absolute paths? When you upload a bundle, we serve each bundle from a path that has a unique bundle sub-directory (Eg.
https://<app prefix>.webflow-ext.com/<bundle hash>/index.js
). If you’re referencing any resources using the absolute path syntax (eg./scripts/app.js
), it won’t work on the uploaded version because we serve it from that bundle-specific sub-directory