mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-28 08:27:03 +02:00
refactor(v2): remove duplicated lodash dependencies and import only what needed (#4361)
Co-authored-by: slorber <lorber.sebastien@gmail.com>
This commit is contained in:
parent
bac512bc63
commit
e6261af642
19 changed files with 22 additions and 142 deletions
|
@ -11,7 +11,7 @@ import {execSync} from 'child_process';
|
|||
import prompts, {Choice} from 'prompts';
|
||||
import path from 'path';
|
||||
import shell from 'shelljs';
|
||||
import kebabCase from 'lodash.kebabcase';
|
||||
import {kebabCase} from 'lodash';
|
||||
|
||||
function hasYarn(): boolean {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue