You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, sorry it's not the main problem. The image doesn't exist in the filesystem because it's provided by a image service which is available only at runtime (thru a reverse proxy running locally).
Yeah, I guess adding extra configuration is reasonable, either in the markup (e.g. parcel-ignore=1) or in a config file. As long as it makes this scenario possible... cuz at the moment I am blocked and I'm not able to run parcel with the current micro-services architecture 😢 😢
Choose one: is this a 🐛 bug report or 🙋 feature request?
🙋 feature request
🎛 Configuration (.babelrc, package.json, cli command)
I'm running a reverse proxy locally on port 80 which is dispatching requests depending their URLs:
/api/*
=> pointing to a xyz API (on port 9090)/images/*
=> pointing to an image service, store images in memory or in database (on port 8080)/dist/*
=> pointing to parceljs (on port 1234)/*
=> pointing to parceljs (on port 1234)Then, I'm browsing
localhost:80
to access all three services, includingparceljs
and myimage service
.🤔 Expected Behavior
I expect to have parcel running
😯 Current Behavior
Parcel is throwing an error and fail to start:
Cannot resolve dependency './../../../../../images/foobar.jpg' at '/images/foobar.jpg'
💁 Possible Solution
Either:
I had a look on the changes included in the next release e.g. #850 but I think it's a different issue.
🔦 Context
I'm trying to use
parceljs
in a micro-services architecture but I can't.🌍 Your Environment
The text was updated successfully, but these errors were encountered: