mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
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:
parent
b99a4031c6
commit
76c0b11632
20 changed files with 45 additions and 22 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue