Skip to content

Commit

Permalink
[core] Remove unnecessary types packages from `@mui/internal-babel-ma…
Browse files Browse the repository at this point in the history
…cros` (#43193)
  • Loading branch information
ZeeshanTamboli committed Aug 6, 2024
1 parent 5d4b7b6 commit 41a72bd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
5 changes: 2 additions & 3 deletions packages/mui-babel-macros/MuiError.macro.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ function invertObject(object) {
}

/**
* Supported imports:
* 1. bare specifier e.g. `'@mui/internal-babel-macros/MuiError.macro'`
* 2. relative import from `packages/mui-utils/src` e.g. `'../macros/MuiError.macro'`
* Supported import:
* Bare specifier `'@mui/internal-babel-macros/MuiError.macro'`
* @param {import('babel-plugin-macros').MacroParams} param0
*/
function muiError({ references, babel, config, source }) {
Expand Down
3 changes: 0 additions & 3 deletions packages/mui-babel-macros/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
"devDependencies": {
"@mui/internal-babel-macros": "workspace:*",
"@types/babel-plugin-macros": "^3.1.3",
"@types/chai": "^4.3.17",
"@types/mocha": "^10.0.7",
"@types/node": "^18.19.43",
"babel-plugin-tester": "^11.0.4",
"chai": "^4.5.0"
},
Expand Down
9 changes: 0 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 41a72bd

Please sign in to comment.