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
I was just including Stripe and was surprised it didn't work when updating from Parcel 1 to Parcel 2. It's kind of uninituitive, IMO that something as benign as lazily loading 3rd party JS doesn't work.
🐛 bug report
🎛 Configuration (.babelrc, package.json, cli command)
.proxyrc.js
.babelrc.json:
cli command:
parcel public/index.html --port 4000 --log-level verbose
🤔 Expected Behavior
Responses should have the header as defined on the middleware.
😯 Current Behavior
Response always with
Cross-Origin-Embedder-Policy: require-corp
. Probably also happens with other headers being set byparcel/packages/reporters/dev-server/src/Server.js
Line 33 in e63235f
💁 Possible Solution
I believe is just a matter of the order of the middlewares being called. I would be glad try a PR once the issue is confirmed to be an issue.
🔦 Context
I wish I could have a more flexible development server.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: