refactor(v2): TS config update: reduce the size of npm modules (#4375)

* feat(v2): Reduce the size of the npm modules

Signed-off-by: Reece Dunham <me@rdil.rocks>

* Fix conflicts

* Update search.js

Co-authored-by: slorber <lorber.sebastien@gmail.com>
This commit is contained in:
Reece Dunham 2021-03-17 11:25:42 -04:00 committed by GitHub
parent b99a4031c6
commit 76c0b11632
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 45 additions and 22 deletions

View file

@ -9,7 +9,7 @@
const toString = require('mdast-util-to-string');
const visit = require('unist-util-visit');
const {toValue} = require('../utils');
const toValue = require('../utils').toValue;
/** @typedef {import('@docusaurus/types').TOCItem} TOC */
/** @typedef {import('unist').Node} Node */