Passle
Passle
CDCloudflare Developers
Created by Passle on 8/27/2023 in #workers-help
wranglers handling of node module resolutioncustom export conditions
Im trying to use a package in my worker that depends on package export conditions (notably the ‘development’ condition). I was expecting wrangler dev to use the development export condition, but it looks like it doesnt. Is there any way to provide which export conditions wrangler should use?
9 replies
CDCloudflare Developers
Created by Passle on 8/27/2023 in #workers-help
get the url of your app in a worker?
Is there a way to get the url of where your app is deployed inside a worker? In a service worker i can do self.location, but it doesnt exist in a worker Bonus question: easy way to switch that url between localhost for dev
6 replies