|
| 1 | +diff --git a/packages/gatsby-plugin-mdx/package.json b/packages/gatsby-plugin-mdx/package.json |
| 2 | +index 4fa83e356f..4e18ac3fa0 100644 |
| 3 | +--- a/packages/gatsby-plugin-mdx/package.json |
| 4 | ++++ b/packages/gatsby-plugin-mdx/package.json |
| 5 | +@@ -14,6 +14,7 @@ |
| 6 | + "directory": "packages/gatsby-plugin-mdx" |
| 7 | + }, |
| 8 | + "peerDependencies": { |
| 9 | ++ "gatsby": "^4.0.0-alpha-9689ff", |
| 10 | + "@mdx-js/mdx": "^1.0.0", |
| 11 | + "@mdx-js/react": "^1.0.0", |
| 12 | + "react": "^16.9.0 || ^17.0.0", |
| 13 | +diff --git a/packages/gatsby-plugin-mdx/utils/render-html.js b/packages/gatsby-plugin-mdx/utils/render-html.js |
| 14 | +index 16d1080b21..ab390241b3 100644 |
| 15 | +--- a/packages/gatsby-plugin-mdx/utils/render-html.js |
| 16 | ++++ b/packages/gatsby-plugin-mdx/utils/render-html.js |
| 17 | +@@ -1,4 +1,4 @@ |
| 18 | +-const webpack = require(`webpack`) |
| 19 | ++const webpack = require(`gatsby/webpack`) |
| 20 | + const path = require(`path`) |
| 21 | + const evaluate = require(`eval`) |
| 22 | + const debug = require(`debug`)(`gatsby-plugin-mdx:render-html`) |
| 23 | +diff --git a/packages/gatsby-plugin-netlify-cms/package.json b/packages/gatsby-plugin-netlify-cms/package.json |
| 24 | +index cdd3644243..c84c97d074 100644 |
| 25 | +--- a/packages/gatsby-plugin-netlify-cms/package.json |
| 26 | ++++ b/packages/gatsby-plugin-netlify-cms/package.json |
| 27 | +@@ -15,8 +15,7 @@ |
| 28 | + "html-webpack-tags-plugin": "^3.0.1", |
| 29 | + "lodash": "^4.17.21", |
| 30 | + "mini-css-extract-plugin": "1.6.2", |
| 31 | +- "netlify-identity-widget": "^1.9.2", |
| 32 | +- "webpack": "^5.35.0" |
| 33 | ++ "netlify-identity-widget": "^1.9.2" |
| 34 | + }, |
| 35 | + "devDependencies": { |
| 36 | + "@babel/cli": "^7.15.4", |
| 37 | +@@ -40,7 +39,8 @@ |
| 38 | + "gatsby": "^4.0.0-alpha-9689ff", |
| 39 | + "netlify-cms-app": "^2.9.0", |
| 40 | + "react": "^16.9.0 || ^17.0.0", |
| 41 | +- "react-dom": "^16.9.0 || ^17.0.0" |
| 42 | ++ "react-dom": "^16.9.0 || ^17.0.0", |
| 43 | ++ "webpack": "^5.0.0" |
| 44 | + }, |
| 45 | + "repository": { |
| 46 | + "type": "git", |
| 47 | +diff --git a/packages/gatsby-plugin-netlify-cms/src/gatsby-node.js b/packages/gatsby-plugin-netlify-cms/src/gatsby-node.js |
| 48 | +index 3f060702bb..bb04a2a389 100644 |
| 49 | +--- a/packages/gatsby-plugin-netlify-cms/src/gatsby-node.js |
| 50 | ++++ b/packages/gatsby-plugin-netlify-cms/src/gatsby-node.js |
| 51 | +@@ -1,6 +1,6 @@ |
| 52 | + import path from "path" |
| 53 | + import { mapValues, isPlainObject, trim } from "lodash" |
| 54 | +-import webpack from "webpack" |
| 55 | ++import webpack from "gatsby/webpack" |
| 56 | + import HtmlWebpackPlugin from "html-webpack-plugin" |
| 57 | + import { HtmlWebpackSkipAssetsPlugin } from "html-webpack-skip-assets-plugin" |
| 58 | + import MiniCssExtractPlugin from "mini-css-extract-plugin" |
0 commit comments