diff --git a/packages/vue-apollo-ssr/src/index.ts b/packages/vue-apollo-ssr/src/index.ts index 65f836a2..b0ad171f 100644 --- a/packages/vue-apollo-ssr/src/index.ts +++ b/packages/vue-apollo-ssr/src/index.ts @@ -1,4 +1,4 @@ -import * as serializeJs from 'serialize-javascript' +import serializeJs from 'serialize-javascript' import { ApolloClient } from '@apollo/client/core/index.js' export type ApolloClients = { [key: string]: ApolloClient } diff --git a/packages/vue-apollo-ssr/tsconfig.json b/packages/vue-apollo-ssr/tsconfig.json index 539c369b..c4e01253 100644 --- a/packages/vue-apollo-ssr/tsconfig.json +++ b/packages/vue-apollo-ssr/tsconfig.json @@ -5,7 +5,8 @@ "moduleResolution": "node", "sourceMap": true, "skipLibCheck": true, - "strict": true + "strict": true, + "esModuleInterop": true }, "include": [ "src/**/*"