diff --git a/apps/material-react-table-docs/pages/migrating-to-v2.mdx b/apps/material-react-table-docs/pages/migrating-to-v2.mdx index 4f27982aa..26324448d 100644 --- a/apps/material-react-table-docs/pages/migrating-to-v2.mdx +++ b/apps/material-react-table-docs/pages/migrating-to-v2.mdx @@ -34,7 +34,7 @@ import { InstallCommand } from '../components/mdx/InstallCommand'; -- If you use the date picker features, you will also need to import the `LocalizationProvider` from `@mui/x-date-pickers` and wrap your app in it. See [here](https://mui.com/guides/right-to-left/#main-content) for more details. +- If you use the date picker features, you will also need to import the `LocalizationProvider` from `@mui/x-date-pickers` and wrap your app in it. See [here](https://mui.com/x/react-date-pickers/adapters-locale/) for more details. ```jsx import { LocalizationProvider } from '@mui/x-date-pickers'; diff --git a/packages/material-react-table/build-locales.mjs b/packages/material-react-table/build-locales.mjs index 08fec0a8a..321070df5 100644 --- a/packages/material-react-table/build-locales.mjs +++ b/packages/material-react-table/build-locales.mjs @@ -66,6 +66,12 @@ async function build(locale) { sourcemap: false, }); + await bundle.write({ + file: `./locales/${locale}.js`, + format: 'esm', + sourcemap: false, + }); + const typeFile = `import { type MRT_Localization } from '../..'; export declare const MRT_Localization_${locale .toUpperCase() diff --git a/packages/material-react-table/package.json b/packages/material-react-table/package.json index 0ec027cbb..14f681d1d 100644 --- a/packages/material-react-table/package.json +++ b/packages/material-react-table/package.json @@ -1,5 +1,5 @@ { - "version": "2.0.0-beta.7", + "version": "2.0.0-beta.8", "license": "MIT", "name": "material-react-table", "description": "A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript.",