Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add babel-plugin-modular-graphql to rewrite graphql imports (#700)

authored by

Phil Plückthun and committed by
GitHub
268d880f 8b548117

+14
+7
.changeset/eighty-plants-pump.md
··· 1 + --- 2 + '@urql/exchange-graphcache': patch 3 + '@urql/exchange-populate': patch 4 + '@urql/core': patch 5 + --- 6 + 7 + Pick modules from graphql package, instead of importing from graphql/index.mjs
+1
package.json
··· 58 58 "@typescript-eslint/eslint-plugin": "^2.27.0", 59 59 "@typescript-eslint/parser": "^2.27.0", 60 60 "babel-plugin-closure-elimination": "^1.3.0", 61 + "babel-plugin-modular-graphql": "0.1.1", 61 62 "babel-plugin-transform-async-to-promises": "^0.8.15", 62 63 "dotenv": "^8.2.0", 63 64 "eslint": "^6.8.0",
+1
scripts/rollup/plugins.js
··· 71 71 plugins: [ 72 72 babelPluginTransformPipe, 73 73 babelPluginTransformInvariant, 74 + 'babel-plugin-modular-graphql', 74 75 'babel-plugin-closure-elimination', 75 76 '@babel/plugin-transform-object-assign', 76 77 settings.hasReact && ['@babel/plugin-transform-react-jsx', {
+5
yarn.lock
··· 3035 3035 cosmiconfig "^6.0.0" 3036 3036 resolve "^1.12.0" 3037 3037 3038 + babel-plugin-modular-graphql@0.1.1: 3039 + version "0.1.1" 3040 + resolved "https://registry.yarnpkg.com/babel-plugin-modular-graphql/-/babel-plugin-modular-graphql-0.1.1.tgz#467b49c9141274e144cb2481ee98abdf292f5d63" 3041 + integrity sha512-xlv/XTp3FiTRIeuQYp07Avlt+n6+GGPw0dXSt7c+FTLS5q/NugY4DpOb4MMn+u5dw0Xs/3VlxU4oGDHdv+z3Zw== 3042 + 3038 3043 "babel-plugin-styled-components@>= 1": 3039 3044 version "1.10.7" 3040 3045 resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.10.7.tgz#3494e77914e9989b33cc2d7b3b29527a949d635c"