Skip to content

Commit

Permalink
[docs] Add note about minimum required webpack version (#43864)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot authored Oct 1, 2024
1 parent f8836b7 commit 5cee5bd
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ Have a look at the older [versions](https://mui.com/versions/) for backward comp

Material UI requires a minimum version of TypeScript 4.7.
This aims to match the policy of [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped), with the support of the versions of TypeScript that are less than two years old.

## Webpack

The minimium required version of webpack to bundle applications that use Material UI is v5. Webpack <= v4 can't bundle Material UI untranspiled as it uses features such as the [null coalscing operator (`??`)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing) and [optional chaining (`?.`)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining).

0 comments on commit 5cee5bd

Please sign in to comment.