Skip to content

Commit ab15f2e

Browse files
[docs-infra] Non breaking space for ESM (#45758)
1 parent c39c900 commit ab15f2e

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

docs/data/material/migration/upgrade-to-v7/upgrade-to-v7.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
The package layout has been updated, and now unambiguously supports both valid ESM and CommonJS through the `exports` field in `package.json`.
1010
You can read more about package exports in the [Node.js documentation](https://nodejs.org/api/packages.html#packages_exports).
1111

12-
This update fixes several issues with popular bundlers like Vite and webpack, and makes it possible to load MUI packages from ES modules under Node.js.
12+
This update fixes several issues with popular bundlers like Vite and webpack, and makes it possible to load MUI packages from ES modules under Node.js.
1313

1414
### Quality-of-life improvements
1515

docs/mui-vale.zip

9 Bytes
Binary file not shown.

docs/mui-vale/styles/MUI/CorrectReferenceAllCases.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ swap:
3939
Webpack: webpack # https://twitter.com/wSokra/status/855800490713649152
4040
app router: App Router # Next.js
4141
page router: Page Router # Next.js
42+
ES modules: ES modules

docs/pages/blog/material-ui-v4-is-out.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Documentation was reported as the 3rd most critical pain point in the Developer
143143

144144
You may be afraid that using Material UI's components will bloat and slow down your website/application. Would you be better off writing your own components? Well, it's our mission to make this cost as minimal as possible 🚀.
145145

146-
- **Tree shaking**. Material UI v4 is the first version to support native tree shaking with ES modules. This has one important DX benefit—you can now use destructured imports when importing multiple components:
146+
- **Tree shaking**. Material UI v4 is the first version to support native tree shaking with ES modules. This has one important DX benefit—you can now use destructured imports when importing multiple components:
147147

148148
```js
149149
import {

docs/pages/blog/material-ui-v7-is-here.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ It is designed to be straightforward to upgrade to.
1515
## Improved ESM support
1616

1717
The package layout has been updated, and now unambiguously supports both valid ESM and CommonJS through the `exports` field in `package.json`.
18-
This update fixes several issues with popular bundlers like Vite and webpack, and makes it possible to load MUI packages from ES modules under Node.js.
18+
This update fixes several issues with popular bundlers like Vite and webpack, and makes it possible to load MUI packages from ES modules under Node.js.
1919

2020
## Completed the slot pattern implementation
2121

0 commit comments

Comments
 (0)