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
Intended outcome:
Loading @apollo/client/utilities using esbuild / in a esm context works
Actual outcome:
The import import { relayStylePagination } from '@apollo/client/utilities/policies/pagination' for example leads to
node:7012) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
D:\Programming\JabRefOnline\node_modules\@apollo\client\utilities\globals\maybe.js:1
export function maybe(thunk) {
^^^^^^
SyntaxError: Unexpected token 'export'
How to reproduce the issue:
Versions
The envinfo command failed with an EWORKSPACESCONFIG error, but I'm using the latest version of apollo client: "@apollo/client@^3.4.16"
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
For general questions, we recommend using StackOverflow or our discord server.
Intended outcome:
Loading
@apollo/client/utilities
using esbuild / in a esm context worksActual outcome:
The import
import { relayStylePagination } from '@apollo/client/utilities/policies/pagination'
for example leads toHow to reproduce the issue:
Versions
The
envinfo
command failed with anEWORKSPACESCONFIG
error, but I'm using the latest version of apollo client:"@apollo/client@^3.4.16"
The text was updated successfully, but these errors were encountered: