From 3d8d43b5628476ad56284b68ad40a3bb51dcbc2e Mon Sep 17 00:00:00 2001 From: Andrey Goncharov Date: Tue, 22 Feb 2022 07:58:26 -0800 Subject: [PATCH] Update babel config Summary: allow-large-files During decapitation the style guide was accidentally removed. In this diff we bring it back and embed it into our docs. The only caveat is that the fonts have slightly changes because we included antd.css. It does not change too much from my point of view, but I would love to hear from the team. Reviewed By: jknoxville Differential Revision: D34339758 fbshipit-source-id: 10d347bc805f9314ae717de483bf8b766000280f --- website/babel.config.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 website/babel.config.js diff --git a/website/babel.config.js b/website/babel.config.js new file mode 100644 index 000000000..84ad45acb --- /dev/null +++ b/website/babel.config.js @@ -0,0 +1,12 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @format + */ + +module.exports = { + presets: [require.resolve('@docusaurus/core/lib/babel/preset')], +};