From dc1e4331ab240f4ef61c35876c915501c8eb013e Mon Sep 17 00:00:00 2001 From: Cindy Le Date: Mon, 21 Feb 2022 11:05:15 -0500 Subject: [PATCH] remove next/mdx package and webpack.config.js for next.js frontend --- pnpm-lock.yaml | 11 ++--------- src/web/package.json | 1 - src/web/webpack.config.js | 10 ---------- 3 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 src/web/webpack.config.js diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c68068e652..a8757fca96 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -350,7 +350,6 @@ importers: '@fontsource/spartan': 4.5.4 '@material-ui/core': 4.12.3 '@material-ui/icons': 4.11.2 - '@next/mdx': 12.0.7 '@senecacdot/eslint-config-telescope': 1.0.0 '@testing-library/react': 12.1.3 '@types/node': 16.11.25 @@ -383,7 +382,6 @@ importers: '@fontsource/spartan': 4.5.4 '@material-ui/core': 4.12.3_b8fdba992ce7d797017dc07106486496 '@material-ui/icons': 4.11.2_559d47d5a56c16e6435ddc61509dee08 - '@next/mdx': 12.0.7 '@types/smoothscroll-polyfill': 0.3.1 '@types/yup': 0.29.13 clsx: 1.1.1 @@ -979,6 +977,7 @@ packages: '@babel/types': 7.16.8 transitivePeerDependencies: - supports-color + dev: false /@babel/helpers/7.17.2: resolution: {integrity: sha512-0Qu7RLR1dILozr/6M0xgj+DFPmi6Bnulgm9M8BVa9ZCWxDqlSnqt3cf8IDPB5m45sVXUZ0kuQAgUrdSFFH79fQ==} @@ -4307,6 +4306,7 @@ packages: react: ^16.13.1 || ^17.0.0 dependencies: react: 17.0.2 + dev: false /@mdx-js/runtime/1.6.22_react@17.0.2: resolution: {integrity: sha512-p17spaO2+55VLCuxXA3LVHC4phRx60NR2XMdZ+qgVU1lKvEX4y88dmFNOzGDCPLJ03IZyKrJ/rPWWRiBrd9JrQ==} @@ -4330,13 +4330,6 @@ packages: resolution: {integrity: sha512-oBlkyDop0Stf7MPIzETGv5r0YT/G/weBrknoPOUTaa5qwOeGjuy6gsOVc/SBtrBkOoBmRpD+fFhQJPvmo1mS+g==} dev: false - /@next/mdx/12.0.7: - resolution: {integrity: sha512-yudu/ZxkFznvcQtVKKWkLYVja4kCah/yz09x5tpphr5g+xmaJNA6RylheaORIY8qdgdKRqVXt3hMnpfdH9bBtw==} - peerDependencies: - '@mdx-js/loader': '>=0.15.0' - '@mdx-js/react': '*' - dev: false - /@next/swc-android-arm64/12.0.9: resolution: {integrity: sha512-aVqgsEn5plmUH2X58sjzhHsH/6majucWTMaaBEs7hHO2+GCwCZc7zaLH4XCBMKPES9Yaja8/pYUbvZQE9DqgFw==} engines: {node: '>= 10'} diff --git a/src/web/package.json b/src/web/package.json index 0747db78f3..6177aad6ed 100644 --- a/src/web/package.json +++ b/src/web/package.json @@ -13,7 +13,6 @@ "@fontsource/spartan": "4.5.4", "@material-ui/core": "4.12.3", "@material-ui/icons": "4.11.2", - "@next/mdx": "12.0.7", "@types/smoothscroll-polyfill": "0.3.1", "@types/yup": "0.29.13", "clsx": "1.1.1", diff --git a/src/web/webpack.config.js b/src/web/webpack.config.js deleted file mode 100644 index 4d0f2b88ef..0000000000 --- a/src/web/webpack.config.js +++ /dev/null @@ -1,10 +0,0 @@ -module.exports = { - module: { - rules: [ - { - test: /\.mdx?$/, - use: ['babel-loader', '@mdx-js/loader'], - }, - ], - }, -};