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'm using [email protected] and it doesn't seem to have any file graphql/subscription/subscribe.mjs. According to webpack and the log in the gist, it seems like @urql/exchange-execute package.json isn't properly declaring its targets? (Field 'browser' doesn't contain a valid alias configuration)
I honestly don't have any experience with the whole CJS/ESM war so I'm not sure what to do. 😅
It seems like the graphql/subscription module has been deprecated and is just re-exporting from graphql/execution/subscribe.
I think if @urql/exchange-execute would use graphql/execution/subscribe from its import it will work as graphql/execute/subscribe.mjs exists.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello all,
I'm trying to upgrade to Storybook 6.4 and it seems that
@urql/exchange-execute
can't be imported properly: https://gist.github.com/jgoux/174fc7db9b53d23345c555be6e71d29bI'm using [email protected] and it doesn't seem to have any file
graphql/subscription/subscribe.mjs
. According to webpack and the log in the gist, it seems like@urql/exchange-execute
package.json isn't properly declaring its targets? (Field 'browser' doesn't contain a valid alias configuration)I honestly don't have any experience with the whole CJS/ESM war so I'm not sure what to do. 😅
It seems like the
graphql/subscription
module has been deprecated and is just re-exporting fromgraphql/execution/subscribe
.I think if
@urql/exchange-execute
would usegraphql/execution/subscribe
from its import it will work asgraphql/execute/subscribe.mjs
exists.I think it's the line 3 in this file : https://unpkg.com/browse/@urql/[email protected]/dist/urql-exchange-execute.mjs
Beta Was this translation helpful? Give feedback.
All reactions