From 06ce2f5f46f4f1ee744bdac228394f102c6dcc39 Mon Sep 17 00:00:00 2001 From: mathieudutour Date: Tue, 12 Mar 2019 08:07:37 -0400 Subject: [PATCH] fix typo --- packages/gatsby/package.json | 2 +- .../gatsby/src/redux/__tests__/__snapshots__/babelrc.js.snap | 2 +- packages/gatsby/src/utils/babel-loader-helpers.js | 2 +- yarn.lock | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 7c89c17c154f8..c0aab806e2a31 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -25,7 +25,7 @@ "babel-loader": "^8.0.0", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-dynamic-import-node": "^1.2.0", - "babel-plugin-macros": "^2.5.0", + "babel-plugin-macros": "^2.4.2", "babel-plugin-preval": "^3.0.1", "babel-plugin-remove-graphql-queries": "^2.6.2", "babel-preset-gatsby": "^0.1.9", diff --git a/packages/gatsby/src/redux/__tests__/__snapshots__/babelrc.js.snap b/packages/gatsby/src/redux/__tests__/__snapshots__/babelrc.js.snap index 0ae9a2852e601..f99010b731957 100644 --- a/packages/gatsby/src/redux/__tests__/__snapshots__/babelrc.js.snap +++ b/packages/gatsby/src/redux/__tests__/__snapshots__/babelrc.js.snap @@ -170,7 +170,7 @@ Array [ ], Array [ Array [ - "/path/to/module/babel-plugin-macro", + "/path/to/module/babel-plugin-macros", ], Object { "type": "plugin", diff --git a/packages/gatsby/src/utils/babel-loader-helpers.js b/packages/gatsby/src/utils/babel-loader-helpers.js index 2bd88e1b1cf5a..4c2b5ed7dfbae 100644 --- a/packages/gatsby/src/utils/babel-loader-helpers.js +++ b/packages/gatsby/src/utils/babel-loader-helpers.js @@ -37,7 +37,7 @@ const prepareOptions = (babel, resolve = require.resolve) => { type: `plugin`, } ), - babel.createConfigItem([resolve(`babel-plugin-macro`)], { + babel.createConfigItem([resolve(`babel-plugin-macros`)], { type: `plugin`, }), ] diff --git a/yarn.lock b/yarn.lock index 7480eaaffff9f..093afc81ece9d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3143,7 +3143,7 @@ babel-plugin-macros@^2.0.0, babel-plugin-macros@^2.4.2: cosmiconfig "^5.0.5" resolve "^1.8.1" -babel-plugin-macros@^2.2.2, babel-plugin-macros@^2.5.0: +babel-plugin-macros@^2.2.2: version "2.5.0" resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-2.5.0.tgz#01f4d3b50ed567a67b80a30b9da066e94f4097b6" integrity sha512-BWw0lD0kVZAXRD3Od1kMrdmfudqzDzYv2qrN3l2ISR1HVp1EgLKfbOrYV9xmY5k3qx3RIu5uPAUZZZHpo0o5Iw==