@isograph/babel-plugin 0.0.0-main-7986369f → 0.0.0-main-18c54425

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,8 +21,8 @@ if (result) {
21
21
  }
22
22
 
23
23
  module.exports = function BabelPluginIsograph(context) {
24
- const { types: t } = context;
25
- if (!t) {
24
+ const { types } = context;
25
+ if (!types) {
26
26
  throw new Error(
27
27
  'BabelPluginIsograph: Expected plugin context to include "types", but got:' +
28
28
  String(context),
@@ -31,7 +31,7 @@ module.exports = function BabelPluginIsograph(context) {
31
31
 
32
32
  const visitor = {
33
33
  CallExpression(path) {
34
- compileTag(t, path, IsographConfig);
34
+ compileTag(types, path, IsographConfig);
35
35
  },
36
36
  };
37
37
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@isograph/babel-plugin",
3
3
  "description": "A Babel plugin for use with Isograph applications.",
4
4
  "homepage": "https://isograph.dev",
5
- "version": "0.0.0-main-7986369f",
5
+ "version": "0.0.0-main-18c54425",
6
6
  "keywords": [
7
7
  "graphql",
8
8
  "isograph",