diff --git a/docs/babel.config.js b/docs/babel.config.js index 1ccf95cfbb1b80..c084dddc5580cb 100644 --- a/docs/babel.config.js +++ b/docs/babel.config.js @@ -8,10 +8,10 @@ const { version: transformRuntimeVersion } = fse.readJSONSync( ); module.exports = { - // TODO: Enable once nextjs uses babel 7.13 - // assumptions: { - // noDocumentAll: true, - // }, + assumptions: { + noDocumentAll: true, + setSpreadProperties: true, + }, presets: [ // backport of https://github.com/vercel/next.js/pull/9511 [