PR-202408: updating packages and fixing mdx files.

This commit is contained in:
2024-08-29 05:26:45 +00:00
parent f7703e92b3
commit 0b6db0459f
4 changed files with 7559 additions and 11035 deletions

View File

@ -22,6 +22,19 @@ module.exports = {
}
],
"webpackFinal": async config => {
config.module.rules.push(
{
test: /\.(ts|tsx)$/,
use: [
{
loader: 'ts-loader',
options: {
transpileOnly: true,
},
},
],
}
);
config.entry = config.entry.map(function(entry) {
if (entry.includes("webpack-hot-middleware")) {
return `${require.resolve('webpack-hot-middleware/client')}?path=${prefixUrl}__webpack_hmr&reload=true`;
@ -48,9 +61,6 @@ module.exports = {
}
}
},
features: {
previewMdx2: true
},
docs: {
autodocs: true
}