Skip to content

Commit

Permalink
remove graphql modules
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Jul 21, 2022
1 parent c70b173 commit f318271
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"babel-plugin-modular-graphql": "^1.1.0",
"babel-plugin-transform-async-to-promises": "^0.8.15",
"cjs-module-lexer": "^1.2.2",
"cypress": "^9.5.1",
Expand Down
6 changes: 1 addition & 5 deletions scripts/rollup/cleanup-plugin.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { transformSync as transform } from '@babel/core';
import { createFilter } from '@rollup/pluginutils';
import babelPluginModularGraphQL from 'babel-plugin-modular-graphql';

function removeEmptyImports({ types: t }) {
return {
Expand Down Expand Up @@ -37,10 +36,7 @@ function cleanup(opts = {}) {
}

return transform(code, {
plugins: [
!opts.maintainImports && [babelPluginModularGraphQL, { extension: opts.extension }],
removeEmptyImports
].filter(Boolean),
plugins: [removeEmptyImports],
babelrc: false
});
}
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4083,11 +4083,6 @@ babel-plugin-macros@^3.0.1:
cosmiconfig "^7.0.0"
resolve "^1.19.0"

babel-plugin-modular-graphql@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/babel-plugin-modular-graphql/-/babel-plugin-modular-graphql-1.1.0.tgz#d1d509913295f0320cc1ce38361b229ca04480ba"
integrity sha512-U9QXdxvJhxLU4YYrF7646bB4muLXWdW0sXXKrI9FkGDErqjw0utVn+Zk5W0nNXP82rAmg5vl+cv2nAyZ1dnbxg==

babel-plugin-named-asset-import@^0.3.1:
version "0.3.7"
resolved "https://registry.yarnpkg.com/babel-plugin-named-asset-import/-/babel-plugin-named-asset-import-0.3.7.tgz#156cd55d3f1228a5765774340937afc8398067dd"
Expand Down

0 comments on commit f318271

Please sign in to comment.