Skip to content

Commit d586058

Browse files
committed
chore: enable all faster features + v4
1 parent a12fa45 commit d586058

File tree

1 file changed

+16
-22
lines changed

1 file changed

+16
-22
lines changed

docusaurus.config.js

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,8 @@ module.exports = {
1818
projectName: 'apify-docs',
1919
scripts: ['/js/custom.js'],
2020
future: {
21-
experimental_faster: {
22-
// swcJsLoader: true,
23-
swcJsMinimizer: true,
24-
swcHtmlMinimizer: true,
25-
lightningCssMinimizer: true,
26-
rspackBundler: true,
27-
mdxCrossCompilerCache: true,
28-
},
21+
experimental_faster: true,
22+
v4: true,
2923
},
3024
headTags: [
3125
{
@@ -156,20 +150,20 @@ module.exports = {
156150
sidebarPath: require.resolve('./sources/legal/sidebars.js'),
157151
},
158152
],
159-
[
160-
'@docusaurus/plugin-content-docs',
161-
{
162-
id: 'openapi',
163-
path: './sources/api',
164-
routeBasePath: 'api/v2',
165-
rehypePlugins: [externalLinkProcessor],
166-
showLastUpdateAuthor: false,
167-
showLastUpdateTime: false,
168-
breadcrumbs: false,
169-
sidebarPath: require.resolve('./sources/api/sidebars.js'),
170-
docItemComponent: '@theme/ApiItem', // Derived from docusaurus-theme-openapi
171-
},
172-
],
153+
// [
154+
// '@docusaurus/plugin-content-docs',
155+
// {
156+
// id: 'openapi',
157+
// path: './sources/api',
158+
// routeBasePath: 'api/v2',
159+
// rehypePlugins: [externalLinkProcessor],
160+
// showLastUpdateAuthor: false,
161+
// showLastUpdateTime: false,
162+
// breadcrumbs: false,
163+
// sidebarPath: require.resolve('./sources/api/sidebars.js'),
164+
// docItemComponent: '@theme/ApiItem', // Derived from docusaurus-theme-openapi
165+
// },
166+
// ],
173167
[
174168
'docusaurus-plugin-openapi-docs',
175169
{

0 commit comments

Comments
 (0)